Skip to content

Emitted output uses "self-closing" tags #52

Description

@andylovescode

The emitted output uses self-closing tags for empty elements, this could cause some edge cases because self-closing tags aren't real.

<div /> is the same as <div>, the slash is ignored.

In XML and XHTML, <div /> means <div></div>, but not in HTML.

Solution

Emit <div></div>, not <div />

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