Skip to content

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

@Rajusheik

Description

@Rajusheik
          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 #118 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions