-
Notifications
You must be signed in to change notification settings - Fork 413
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
tidy-html5 produces additional tags #33
Comments
I can't reproduce this when running HTML5 Tidy with the default option settings. What non-default config options to do you have set? You can do "tidy -show-config" to list all your current settings. |
I compared the output of tidy -show-config with the options reference and found no differences, so it appears that no non-default options are set. Here is the output if you'd like to check:
For reference, this is the complete output I get:
I didn't properly look at the warnings before, as I should have. The "inserting implicit <span>" obviously is the key, but why is it doing that? |
Please do "tidy -v" and check what version of tidy you're using. Regardless, you should if possible check out the latest sources and rebuild. |
No response for a month, so closing this now. Feel free to re-open it if you have new information. |
@sideshowbarker I've tried version 5.2.0 from http://binaries.html-tidy.org/ on OSX and latest Debian, the behaviour is the same:
results in
options set are:
used via pytidylib6==0.2.2 but behaves the same when used directly with default settings. Edit: correction of markdown. |
@jznf thanks for the report... You have certainly found a case where tidy, since sometime before 2009, will propagate the But as @sideshowbarker reported way back then, this does not happen in the original minimal html sample given, by @mindnektar, so this is a new case, thus would prefer we open a I call it a |
Ok, thanks. I've opened #461 |
Minimal example: Out of
you get
I'd like Tidy not to produce surplus tags--so pretty much the behaviour from the html4 version. I didn't manage to find anything helpful on http://w3c.github.com/tidy-html5/quickref.html
Is there anything I overlooked?
Thanks
Martin
The text was updated successfully, but these errors were encountered: