Skip to content

HTML: trailing '/' as attribute value and Attribute Separator as dsOperator

Jonathan Poelen requested to merge jpoelen/syntax-highlighting:fix_html into master
<input value=abc/>
<!--         ~~~~ Value (previously '/' was Element Symbols)
                 ~ Element Symbols
-->

<input checked type = "checkbox"/>
<!--  ~~~~~~~~~~~~~~ Attribute
                   ~ previously Other Text for spaces on the right
-->

<input value=abc="b/>
<!--         ~~~  ~ Value
                ~~ Error
Previoulsy: (abc="b)
             ~~~~ Value
                 ~~ Error
The standard specifies that ", ', <, = and ` are a parsing error, but added in the attribute value
-->

Merge request reports