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

feat(validation): footnotes in HTML 5.2 #768

Closed
Kristinita opened this issue Dec 21, 2018 · 3 comments
Closed

feat(validation): footnotes in HTML 5.2 #768

Kristinita opened this issue Dec 21, 2018 · 3 comments
Labels
duplicate The issue has been previously reported. extension Related to one or more of the included extensions.

Comments

@Kristinita
Copy link
Contributor

Kristinita commented Dec 21, 2018

1. Summary

It would be nice, if would be possible use valid HTML instead of obsolete rel/ref footnotes.

2. Argumentation

I get errors in HTML5 validator:

Bad value “footnote” for attribute “rel” on element “a”: The string “footnote” is not a registered keyword.
The “rev” attribute on the “a” element is obsolete. Use the “rel” attribute instead, with a term having the opposite meaning.

No rel/rev in official footnotes recommendation.

See similar issue for details.

3. Data

I have Kira__PythonMarkdown--Footnotes.md file, it content:

Kira[^1]

[^1]: Goddess

4. Steps to reproduce

python -m markdown -x footnotes Kira__PythonMarkdown--Footnotes.md

5. Expected behavior

For example, as recommended in Stack Overflow.

6. Actual behavior

<p>Kira<sup id="fnref:1"><a class="footnote-ref" href="#fn:1" rel="footnote">1</a></sup></p>
<div class="footnote">
<hr />
<ol>
<li id="fn:1">
<p>Goddess&#160;<a class="footnote-backref" href="#fnref:1" rev="footnote" title="Jump back to footnote 1 in the text">&#8617;</a></p>
</li>
</ol>
</div>

7. Environment

  • Windows 10 Enterprise LTSB 64-bit EN
  • Python 3.7.1
  • Python Markdown 3.0.1

Thanks.

@waylan
Copy link
Member

waylan commented Dec 21, 2018

This is a duplicate of #723, which was fixed in #728 and will be available in the next release.

@waylan waylan closed this as completed Dec 21, 2018
@waylan waylan added extension Related to one or more of the included extensions. duplicate The issue has been previously reported. labels Dec 21, 2018
@Kristinita
Copy link
Contributor Author

@waylan , when will the new release be approximately released? Thanks.

Kristinita pushed a commit to Kristinita/KristinitaPelican that referenced this issue Dec 22, 2018
@waylan
Copy link
Member

waylan commented Dec 22, 2018

When it’s ready. We have a few outstanding PRs waiting for a final review. I expect a release will be ready once those are finalized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has been previously reported. extension Related to one or more of the included extensions.
Projects
None yet
Development

No branches or pull requests

2 participants