syntax: html: don't bother coloring tags that cross line boundaries
Prefer speed above being fully correct. This addresses https://savannah.gnu.org/bugs/?51644.master
parent
ac2c81fad1
commit
94b484ea97
|
@ -5,7 +5,7 @@ magic "HTML document text"
|
|||
comment "<!--|-->"
|
||||
|
||||
# Tags:
|
||||
color cyan start="<[[:alpha:]/!?]" end=">"
|
||||
color cyan "<[[:alpha:]/!?][^>]*>"
|
||||
# Bold, italic, and underlined:
|
||||
color brightmagenta "</?[biu]>"
|
||||
|
||||
|
|
Loading…
Reference in New Issue