Commit 94b484ea authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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.
parent ac2c81fa
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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]>"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment