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

Squoosh doesn’t work with #1

Closed
danhalliday opened this issue Feb 27, 2020 · 1 comment
Closed

Squoosh doesn’t work with #1

danhalliday opened this issue Feb 27, 2020 · 1 comment

Comments

@danhalliday
Copy link

Squoosh ignores files with the following doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

It is noted in the docs that Squoosh ignores files not starting with <!doctype html>, but is this case intended?

@stevecheckoway
Copy link
Owner

Yes, that’s intentional. It only supports HTML. XHTML must be valid XML which has very different (and much more strict) rules.

I’m intentionally not supporting HTML 4 either (which has different rules too).

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