Footnote output not valid.

Michel Fortin michel.fortin at michelf.ca
Tue Aug 7 14:06:26 EDT 2012


Le 2012-08-06 à 21:07, Waylan Limberg <waylan at gmail.com> a écrit :


> I just received a report [1] that the footnote output we use in

> Python-Markdown (an exact copy of PHP Markdown Extra [3]) is not valid

> HTML [3]. If you notice he's using HTML5. At least the footnote syntax

> does valid on XHTML1 or HTML4. Anyway, any suggestions on how the

> various footnote implementations want to move forward with this?

>

> [1]: https://github.com/waylan/Python-Markdown/issues/129

> [2]: http://michelf.ca/projects/php-markdown/extra/#fn-output

> [3]: http://validator.w3.org/check?uri=http%3A%2F%2Fblog.posativ.org%2F2012%2Flinkschleuder-26%2F&charset=%28detect+automatically%29&doctype=Inline&group=0



Another link you might want to check out:
<https://github.com/michelf/php-markdown/wiki/HTML5-update>

I'm not actually sure what to do about this. One idea is to have a master switch making all output HTML5-conformant. The real problem is that some people might be relying on the current markup, stylesheets at least. So that switch should be disabled by default, which would ensure almost no one gets HTML5 markup.

--
Michel Fortin
michel.fortin at michelf.ca
http://michelf.ca/



More information about the Markdown-Discuss mailing list