As soon as an unquoted attribute value is encountered in the HTML, the syntax highlighter stops working correctly.
Here’s an example HTML document that you can use to reproduce this issue: http://pastebin.com/raw.php?i=KeJLnCnK See e.g. on line 6. If you wrap the attribute value in quotes, the syntax highlighter starts working again.
FWIW, this article might have some useful information when you’re fixing the unquoted attribute values parsing: http://mathiasbynens.be/notes/unquoted-attribute-values It lists all the characters that can be used to break out of unquoted attribute values.
Service d'assistance aux clients par UserEcho