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

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

Open
webspilka opened this issue Dec 23, 2023 · 1 comment · May be fixed by #39
Open

Comments

@webspilka
Copy link

hi
Can I remove trail slash from meta tags ?
I send my site to html validator and get next

Info: Trailing slash on void elements [has no effect](https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements#trailing-slashes-in-void-element-start-tags-do-not-mark-the-start-tags-as-self-closing) and [interacts badly with unquoted attribute values](https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements#trailing-slashes-directly-preceded-by-unquoted-attribute-values).

From line 9, column 9; to line 9, column 100
<meta property="og:title" content="site title" />
@stancl
Copy link
Member

stancl commented Dec 23, 2023

Yeah, feel free to send a PR

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

Successfully merging a pull request may close this issue.

2 participants