https://bugs.kde.org/show_bug.cgi?id=398717
Bug ID: 398717
Summary: Syntax highlighting of email is broken by unclosed
parenthesis in header line
Product: frameworks-syntax-highlighting
Version: 5.46.0
Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: syntax
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 115012
--> https://bugs.kde.org/attachment.cgi?id=115012&action=edit
Test case
If there is an unbroken parenthesis in the header line of an email, then
everything that follows is commented (gray). While it is true that parentheses
enclose comments in most header fields, this does not hold for all fields,
e.g., not for Subject. So some extra care needs to be taken to avoid erroneous
interpretation as a comment there (and perhaps other fields).
Maybe special-casing Subject and breaking of comment-color at the end of the
header is the solution.
--
You are receiving this mail because:
You are watching all bug changes.