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

Add doctype preamble to html tag #95

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

daenney
Copy link
Contributor

@daenney daenney commented Dec 15, 2023

The doctype preamble needs to be emmitted in order to ensure browsers don't switch to legacy/quirks mode rendering.

Fixes: #91

The doctype preamble needs to be emmitted in order to ensure browsers
don't switch to legacy/quirks mode rendering.

Fixes: chasefleming#91
Copy link
Owner

@chasefleming chasefleming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@chasefleming chasefleming merged commit 6e218b0 into chasefleming:main Dec 16, 2023
1 check passed
@daenney daenney deleted the html-preamble branch December 16, 2023 11:48
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.

Doctype preamble for elem.Html
2 participants