Invalid HTML5 when using Markdown footnotes (dev-python/markdown) Reproducible: Always Steps to Reproduce: 1. Use footnote extension in Python Mardkwon 2. Generate the HTML code Actual Results: <a href="#fnref:abc" rev="footnote" title="Jump back to footnote 2 in the text">↩</a> Expected Results: <a href="#fnref:abc" title="Jump back to footnote 2 in the text">↩</a> The "rev" attribute on the a element is obsolete (source: http://dev.w3.org/html5/markup/a.html)
Solution: In file: /usr/lib/python3.2/site-packages/markdown/extensions/footnotes.py Line #136 Just comment that line. - backlink.set("rev", "footnote") + # backlink.set("rev", "footnote")
This sounds like an upstream bug.
This issue has been resolved in the last version, which discriminates checking the HTML version to use.