Sublime Forum

HTML syntax highlighter has some problem

#1

ST version: I tested with the newest Windows 64bit version. Have not checked with other versions yet.

To see the problem, copy and paste the following lines into ST2 and save as HTML file:

Your browser does not support the video tag.

You can see that, ST2 does not understand the content after

The syntax highlighter messes up after this comment block.

Notepad++ works well with syntax highlighter on this point.

0 Likes

#2
(with three dashes) are scoped differently than normal HTML-comments; they are like *docstrings*. Change to .


0 Likes