Markdown "lib" option breaks footnotes

Found a bug? Tell us!!
Post Reply
DLange
Regular
Posts: 16
Joined: Fri Apr 11, 2008 1:16 am

Markdown "lib" option breaks footnotes

Post by DLange »

v1.21 of the markdown plugin introduces the new "lib" option. Using that footnotes are not rendered (and linked) properly anymore. They show up as [^1] in the text instead of a superscript 1. There is also no link to the footnote anymore. Using the (non-default) "classic" option, footnotes work again.
I'm using the bulletproof template.

From the changelog of PHP Markdown Lib 1.3 (11 Apr 2013) on http://michelf.ca/projects/php-markdown/:
"Changed HTML output for footnotes: now instead of adding rel and rev attributes, footnotes links have the class name footnote-ref and backlinks footnote-backref."
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Markdown "lib" option breaks footnotes

Post by Timbalu »

Ah fine. Thanks for noting this changed behaviour.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply