wn-blog-plugin
wn-blog-plugin copied to clipboard
Footnotes not working anymore
Heya!
I noticed a bug recently in the Blog plugin: I don't exactly know when or why it happened, but as of recently, footnotes are no longer properly parsed. I did not change the syntax and double-checked for eventual syntax errors, but it appears the Markdown parser doesn't like footnotes anymore. This behavior is visible both when outputting post.content_html | raw
on the page as well as in the preview field in the backend.
Interestingly, this did work in the past. And even more so, since the blog plugin "caches" the rendered HTML in the content_html
variable, the old posts with footnotes still work. To give you an example:
-
A recent post I published a few days ago. You can search for
[^1]
to discover that the markup is not rendered. This post lets me assume this bug has been there at least since July. - This is the last post which properly parsed footnotes, from June 30th.
Current versions:
- WinterCMS
v1.2.3
- Blog Plugin
v2.0.2
This is likely due to the recent change in the library used to parse the markdown, @bennothommo do you have any thoughts?