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

Remove trailing slash on void HTML elements #2009

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Nov 20, 2024

According to the W3C's HTML validator, trailing slashes in void-element have no effect, and might interact badly in some cases.

Although this is not strictly necessary, it's nice to have clean bill when using a validator.

Pull Request Checklist

Preview: https://pr2009--matrix-spec-previews.netlify.app

According to the W3C's HTML validator, trailing slashes in void-element have no effect,
and might interact badly in some cases.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner November 20, 2024 11:24
Signed-off-by: Kévin Commaille <[email protected]>
@clokep clokep merged commit c16788f into matrix-org:main Nov 20, 2024
12 checks passed
@zecakeh zecakeh deleted the rm-end-slash branch November 21, 2024 07:57
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 this pull request may close these issues.

2 participants