textmate / html.tmbundle

TextMate support for HTML
76 stars 95 forks source link

Moreover, `<img class=foo/>` gets highlighted as if the slash was not part of the attribute value: #124

Open Rajusheik opened 1 year ago

Rajusheik commented 1 year ago
          Moreover, `<img class=foo/>` gets highlighted as if the slash was not part of the attribute value:

code-slash

However, with a spec-compliant HTML parser, it is part of the attribute value due to the slash going through the "Anything else" case in the "Attribute value (unquoted) state".

Originally posted by @hsivonen in https://github.com/textmate/html.tmbundle/issues/118#issuecomment-1259224932