HTML syntax coloring breaks on inline SVG


#1

I have an inline SVG file, and somewhere in the middle the syntax coloring for HTML went awry:


#2

See this post for the explanation on why the highlighter stops highlighting a line at some point:


#3

Yeah, i have a long line since apparently Wordpress only reads the SVG if its in one long, unbroken line.


#4

Closing as duplicate in favor of the original topic …


#5