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
footnote does not produce valid HTML #129
Comments
Our output is an exact copy of PHP Markdown Extra's. Also, I believe that this does valid as HTML4 or XHTML1. Looks like you're trying to validate as HTML5 and the errors are actualy regarding depreciated use of the 'rev' and 'rel' attributes. Regarding In any event, this does "look like" a pseudo element and probably should be changed. I've brought this up on the markdown list in hopes that some consistency can be reached among the various implementations. Thanks for the report. |
|
Okay, I see that |
Specificaly, `self.output_format` is defined and contains a string of the output format used on the instance. This is more useful that an instance of the searializer when determining alternate behavior elsewhere in the parser. For example, see Issue #129. Also cleaned up the error when an invalid format is provided. We now re-raise the original error (with a custom message) rather than raising a new error.
I used the footnotes extension in my HTML5 blog and got the following from the W3 validator with my post.
Don't know why
<li id="fn:1">
is generated, but this is not a valid pseudo element and should be not accessible in CSS selectors (at least SASS breaks). Pandoc produces valid output in the form ofid=fn-1
, but I used to use python-markdown, not an external tool.The text was updated successfully, but these errors were encountered: