summaryrefslogtreecommitdiff
path: root/test/controllers
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-10 18:07:15 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-10 18:07:15 +0200
commitc9401e45433ea45b46f9a8faf1e7e537e4683244 (patch)
treec2fabb1942a257f64b4be0c3ab5a5d5bff717d25 /test/controllers
parented9e846d1d85fa326389982e16bbc8799f2001c0 (diff)
Fix rrule/url column overflow on events#index
Long RRULEs previously overflowed their column with no wrap point; now escaped and rendered with a <wbr> after each semicolon, so a long rule wraps at a clause boundary instead of running off the table. Deliberately not truncated -- a cut-off RRULE's trailing clause (BYDAY, BYMONTH, etc.) is usually the most specific part. The url column is now a real link, truncated with an ellipsis at a fixed width -- deliberately no tooltip, since hovering a real link already shows the full address in the browser's own status bar. rrule_with_break_opportunities splits on the raw string's own semicolons before escaping each piece, not after -- escaping first and searching the result for semicolons also matches the ones inside &lt;/&gt; entities, corrupting anything containing a literal < or >.
Diffstat (limited to 'test/controllers')
0 files changed, 0 insertions, 0 deletions