diff options
author | Keith Cirkel <keithamus@users.noreply.github.com> | 2023-06-06 15:32:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 09:32:30 -0500 |
commit | b33626c3c7b70f6887d9f8699438b2e0fa80bf98 (patch) | |
tree | 3ff64195168107a35e341d7b3a703e2717560eff /src | |
parent | bf36101bf2c295333deb4c736defea619b8bc67a (diff) | |
download | voidsky-b33626c3c7b70f6887d9f8699438b2e0fa80bf98.tar.zst |
remove trailing / on meta tags (#856)
* remove trailing / on meta tags Meta tags are [void elements](https://html.spec.whatwg.org/multipage/syntax.html#void-elements) which means they are self closing, and do not require a closing tag, nor a trailing `/`. The trailing `/` is something that was required in XHTML but [is ignored in HTML](https://html.spec.whatwg.org/multipage/syntax.html#start-tags). Quoth the spec: > On void elements, [the trailing slash] does not mark the start tag as self-closing but instead is unnecessary and has no effect of any kind. For such void elements, it should be used only with caution — especially since, if directly preceded by an unquoted attribute value, it becomes part of the attribute value rather than being discarded by the parser. * remove trailing / on link tags
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions