-
Notifications
You must be signed in to change notification settings - Fork 424
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
Duplicate IDs are not detected if the ID has an uppercase letter #726
Comments
@petdance thank for the issue... yes, this is a bug... It turns out an When creating the Have pushed a fix to the My new v.5.7.14.I726 now shows 14 warnings, as opposed to the 7 you show...
And using the sample below, this new version will still show no warning, as expected, as would previous versions -
But add a HTML4 doctype will still show 2 warnings, as expected, as did earlier versions... In regression testing, with this new version, case 588061 now shows multiple additional warnings, for a duplicated anchor of "MAP details", which previous versions missed... looks like the So this looks like there should be simultanious PR's, Appreciated if you, or others, could checkout the |
How do I run the test suite? I can't figure it out. |
@petdance the first step is to clone the test-suite repo, and it is best if it is cloned in a parallel directory to your Then There is a RUNTESTS.md hopefully explaining it all... And it has been discussed lots of time in these issues, the last being #718 (comment), near bottom... Advise if you have any trouble... thanks... |
Perhaps we need something in the tidy-html5 repo that explains to go look in the test-suite repo. I didn't realize it was a second repo. |
@petdance have just pushed some updates to CONTRIBUTING.md... commit b952e65... and certainly mentioned the regression tests, in a separate repo... Appreciated if you would check it over, and advise any errors, or other suggestions... thanks... |
Looks good. Thanks. |
Have now created PR #731, but as mentioned, |
@petdance - Now both PRs merged... bump to version 5.7.17, both |
Excellent, thank you. I'll try to work with it tomorrow. |
I don't see a tag or release for 5.7.17. Am I missing something?
|
This has been fixed in the underlying library 5.7.17. htacg/tidy-html5#726
If the
id
orname
values have an uppercase letter, then Tidy will not dupe-check them. It will do the correct thing with digits.The text was updated successfully, but these errors were encountered: