Skip to content

fix: remove trailing slash on void elements#64

Merged
RoyalOughtness merged 1 commit intosecureblue:livefrom
jermanuts:trailing-slash
Mar 4, 2025
Merged

fix: remove trailing slash on void elements#64
RoyalOughtness merged 1 commit intosecureblue:livefrom
jermanuts:trailing-slash

Conversation

@jermanuts
Copy link
Copy Markdown
Contributor

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

@jermanuts jermanuts changed the title remove trailing slash on void elements fix: remove trailing slash on void elements Mar 2, 2025
@EsseLowNitro
Copy link
Copy Markdown
Collaborator

Wasn't aware that the use of trailing slashes is actively discouraged for void elements, HTML looks better without it in my opinion and it doesn't interfere with the site generation workflow.

@RoyalOughtness RoyalOughtness merged commit 5d2a1de into secureblue:live Mar 4, 2025
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.

3 participants