adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
9.53k stars 2.58k forks source link

[BUG] HTML invalidator: Trailing slash on void elements #1469

Closed Rotzbua closed 4 months ago

Rotzbua commented 5 months ago

Describe the bug

HTML invalidator throws info:

Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

Steps to reproduce the behavior:

<meta property="og:title" content="testTitle" />

Expected behavior:

<meta property="og:title" content="testTitle">

Additional context

https://developer.mozilla.org/en-US/docs/Glossary/Void_element