Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dairiki opened this issue Apr 6, 2021 · 0 comments
Open

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

dairiki opened this issue Apr 6, 2021 · 0 comments

Comments

@dairiki
Copy link

dairiki commented Apr 6, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant