matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
197 stars 97 forks source link

Remove trailing slash on void HTML elements #2009

Closed zecakeh closed 5 days ago

zecakeh commented 5 days ago

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