Single apostrophe in fenced codeblock causes rendering error on editor pane

Steps to reproduce

probably an upstream bug I assume, but…

copy & paste the content of this gist into a new note

Expected result

something like this (apostrophe ' removed so it shows the correct rendering)

Actual result



  • Operating system: macOS 12.0.1
  • Obsidian version: 0.13.7

I see you tagged it upstream-bug so I guess that’s confirmed. Is this a codemirror bug? Should I file an issue?

no, we file upstream-bug ourselves from now on.

Ok that’s great - less work for me :slightly_smiling_face:

having the same issue on windows 10, in the front matter