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.
Этот коммит содержится в:
родитель
ac2c81fad1
Коммит
94b484ea97
@ -5,7 +5,7 @@ magic "HTML document text"
|
|||||||
comment "<!--|-->"
|
comment "<!--|-->"
|
||||||
|
|
||||||
# Tags:
|
# Tags:
|
||||||
color cyan start="<[[:alpha:]/!?]" end=">"
|
color cyan "<[[:alpha:]/!?][^>]*>"
|
||||||
# Bold, italic, and underlined:
|
# Bold, italic, and underlined:
|
||||||
color brightmagenta "</?[biu]>"
|
color brightmagenta "</?[biu]>"
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user