Closed silverhook closed 3 weeks ago
Hi,
It’s weird it worked before because your example code doesn’t seem to produce an escaped backtick in markdown but three backticks. You can try here on github for instance:
`\``
produces : ```
I believe the correct syntax is:
Also works with `'` and `` ` ``
This worked, thanks! :D
[x] I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
[x] I can reproduce this problem with stock/default settings file, theme, and sample content (as described in above “How to Get Help” sections of the documentation).
[x] I have searched the issues (including closed ones) and believe that this is not a duplicate.
OS version and name: Linux 5.10.0.29, YunoHost 11.2.30.2 (Debian 11)
Python version: 3.9.2
Pelican version: 4.9.1
Link to theme: https://github.com/Pelican-Elegant/elegant/
Links to plugins: not public
Link to your site: https://matija.suklje.name
Link to your source: not public
Link to a Gist with the contents of your settings file: https://paste.yunohost.org/pedocejipo
TL;DR:
suddenly
gets translated to
instead of (as before):
and causes issues.
Since I updated Pelican recently, I started running into this issue, so I suspect it is a regression of either Pelican itself or the Python Markdown module.
Suddenly this blog post of mine from 2014 started causing causing issues – specifically the 4th footnote in it: https://matija.suklje.name/delete-a-sentence-in-vim#fn:q
What happens is that the following Markdown (added linebreak for easier reading):
gets translated to HTML as (added linebreaks for easier reading):
As an additional consequence (and this is how I found out through a subscriber) the Atom feed gets broken, see the following two as the broken ones:
vs. those who still work: