Skip to content

"Implicit" self-closing tags in HTML are not handled #15

@wnayes

Description

@wnayes

ASP.NET understands certain HTML tags to be self-closing by definition, even if the programmer did not close the tag.

For example:

<meta charset="utf-8">
<meta http-equiv="refresh" content="">

With this parser, the above example will result in the bottom meta tag being a child of the top one.

This can be worked around as a consumer of the parser, although the behavior occurs as a surprise, without any indication other than an imbalanced parse tree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions