1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2026-02-11 03:00:57 +01:00
aerc/filters
Fredrik Foss-Indrehus 14a6b1703d colorize: fix quoted diff meta line rendering
Check for diff meta lines before +/- diff content when rendering quoted
text. The "+++ b/file" line was incorrectly rendered as a diff addition
because startswith("+") matched before the diff_meta_re check.

Previously in a quoted diff:
  > --- a/file.c     rendered with quote style + bold (correct)
  > +++ b/file.c     rendered as diff addition (wrong, green)

Now both render as bold with the quote color, same as unquoted diff
meta lines.

Fixes: c0e1bb1e0b ("colorize: highlight diffstat summary lines")
Signed-off-by: Fredrik Foss-Indrehus <fredrik@ffoss.net>
Acked-by: Robin Jarry <robin@jarry.cc>
2026-02-10 11:09:08 +01:00
..
vectors colorize: fix quoted diff meta line rendering 2026-02-10 11:09:08 +01:00
calendar filters/calendar: show excluded dates 2025-02-06 13:59:06 +01:00
colorize.c colorize: fix quoted diff meta line rendering 2026-02-10 11:09:08 +01:00
hldiff filters: Add missing shebangs 2022-07-11 15:53:23 +02:00
html html: only pass supported w3m options 2025-05-12 13:18:25 +02:00
html-unsafe filters: remove hard dependency on socksify 2024-12-26 11:44:19 +01:00
plaintext filters: try and make awk scripts posix compliant 2022-07-18 13:58:21 +02:00
show-ics-details.py show-ics-details.py: fix error with python < 3.9 2022-03-24 15:30:42 +01:00
test.sh filters: test calendar filter also with POSIX-Awk 2024-08-04 17:48:46 +02:00
wrap.c wrap: do not set _XOPEN_SOURCE on NetBSD 2025-03-06 10:34:09 +01:00