-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Use of footnotes causes HTML5 validation error #4433
Comments
What validator are you using? |
@bep I am using the W3C Markup Validation Service: https://validator.w3.org/#validate_by_input This page shows the valid values for |
A fix for this was committed upstream just 3 days ago: I will verify that we're at latest BF. |
@bep Great thanks! Very fast response. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
If footnotes are used in Markdown (which is very common), Hugo renders the anchor with
rel="footnote"
and this causes an HTML5 validation error:Suggested fix is to use
data-rel
instead ofrel
. Any HTML that is generated directly by Hugo (and not from user-supplied templates) should always be valid.The text was updated successfully, but these errors were encountered: