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 />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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