mirror of
https://git.sr.ht/~rjarry/aerc
synced 2026-02-11 03:00:57 +01:00
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:
|
||
|---|---|---|
| .. | ||
| vectors | ||
| calendar | ||
| colorize.c | ||
| hldiff | ||
| html | ||
| html-unsafe | ||
| plaintext | ||
| show-ics-details.py | ||
| test.sh | ||
| wrap.c | ||