Skip to content

HTML5 Doctype #3

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

Closed
claviska opened this issue Jan 9, 2012 · 2 comments
Closed

HTML5 Doctype #3

claviska opened this issue Jan 9, 2012 · 2 comments

Comments

@claviska
Copy link

claviska commented Jan 9, 2012

Hi, great job on getting HTML5 support into Tidy!

Are there any plans on supporting the HTML5 doctype? It seems that with doctype = "auto" Tidy should recognize this as an HTML5 doctype:

<!DOCTYPE html>

Alas, it gets converted to a 4.01 doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
@claviska
Copy link
Author

Hmm, this might be a settings issue on my part. I'll take another look and report back if this is still an issue.

@sideshowbarker
Copy link
Contributor

Whatever problem you were seeing, it should be fixed now. And there's a new "--doctype html5" option that will force Tidy to always output <!doctype html> regardless of what the input is.

GerHobbelt pushed a commit to GerHobbelt/tidy-html5 that referenced this issue Nov 1, 2024
…cific-message

SPA 660 - Tidy hangs on specific message [Android only]
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

No branches or pull requests

2 participants