But
$('<tag></tag>')
doesn't.
The problem seems to come with the '/>' thing.
This is happening in gedit, aptana and scribes.
|
But
doesn't. The problem seems to come with the '/>' thing. This is happening in gedit, aptana and scribes. | |||
|
feedback
|
|
My flavor of Vim happens to handle self-closing tags. In general, editor syntax highlighters use lexical rules, not semantic ones to figure out how to colorize. Since (X|HT)ML is not a regular language, it is pretty easy to fool them. Indeed for just about any language, it is possible to generate a construction that will fool the highlighter. You may be able to find improved highlighters for | |||
|
feedback
|
|
Try
and see if that breaks highlighting too. | |||
|
feedback
|