-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
IdAttributePlugin
throwing false error for duplicate IDs
#3560
Comments
It doesn’t look like I can |
You can use the I think we can do better on the error messaging here though, here’s what it’ll look like in v3.0.1-alpha.1:
|
Thank you so much for addressing and trying to replicate this issue, @zachleat!
You can remove Thanks also for pointing out the error! Now fixed! 💕 |
Operating system
Fedora 41
Eleventy
3.0.0
Describe the bug
In some pages the IdAttribute plugin gives an error caused by duplicate IDs in a page, but that page does not have headings or might not have duplicates at all…
Reproduction steps
bun run start
ornpm run start
in the linked branch of the repository belowExpected behavior
Plugin should not be throwing errors if there actually are not any.
Reproduction URL
https://github.com/xplosionmind/tommi.space/tree/idattr-bug
Screenshots
No response
The text was updated successfully, but these errors were encountered: