Skip to content

Spurious </link> closing tags are being emitted #19

Open
@dairiki

Description

@dairiki

The link elements injected into the HTML are not being properly marked as void elements. This causes html-webpack-plugin to generate spurious </link> closing tags upon serialization. (Harmless, but ugly.)

The fix is to explicitly set voidTag: true in the created link tags here.
Even better, probably, might be to use createHtmlTagObject to create the tag object.

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