I am using sublime to edit html5 docs. But when I started doing editing without quotes, for example:
<div id=asdf>
instead
<div id="asdf">
syntax highlighting went crazy.
Any ideas how to solve this? Is there any other updated parser for the sublime?
ty
This Sublime Text stream offers a way to fix it: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=8129
Open your HTML.tmLanguage (in ~ / .config / sublime-text-2 / Packages / HTML) and look at this:
<string>(?<='|")</string> <key>name</key> <string>meta.attribute-with-value.id.html</string>
Change the first line to
<string>(?<==|='|=")</string>
, , , , .
free html - . . , , , .
I need to go with Dbugger on this. I feel compelled not to help you set up Sublime so as not to βreportβ bad HTML rules. With that said, the answer to your question in quotes will eliminate the strange highlighting in Sublime.