Incorrect highlighting of trailing slash in unquoted HTML attribute values #161764
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
code-insiders --disable-extensions test.html
Actual results:
The trailing slash in the value of the
href
attribute is highlighted as an error. The trailing slash in the class valuefoo/
is highlighted as if it was not part of the attribute value.Expected results
Expected both slashes to be highlighted in the attribute value color, since they parse as part of the attribute value according to the HTML spec.
The text was updated successfully, but these errors were encountered: