Angular brackets ">" will mess live preview of codeblocks in quotes and callouts

Just be aware that if some user will copy the text into the IDE, he would get errors for the invisible space character and would need to delete them manually.

So I still see this as very annoying bug that should be fixed in the Obsidian. And it has been reported more than a year ago :frowning:

4 Likes

Do we know where this bug is coming from? I mean, if we try these examples in code mirror 6 do they work? Or is it coming from the live preview code? :frowning:

I’m having this problem too, can’t believe this is already a bug report for 2022, when is obsidian going to fix it?

2 Likes

Created an account just to say I’m having the same very annoying issue.

2 Likes

So we got two decent workarounds:

  1. closing the first HTML tag: <p/>This will render okay</p>
  2. adding a number before the first HTML tag: <0p>This will work too</p>

It’d be nice if Obsidian would fix that issue though.