Skip to content

Track elements are not considered void elements #95

@hans-pragt

Description

@hans-pragt

When adding track elements to a video element, they should not be closed since they are a void element. Currently, this package converts:

<video>
  <track>
</video>

to

<video>
   <track></track>
</video>

which causes errors in Angular applications.

Note: I think this is the right repo to file this bug, but I am using this package through html-minify-loader.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions