mirror of git://git.sv.gnu.org/nano.git
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.
This commit is contained in:
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