Bold, Highlight, etc, should not be triggered when there are whitespaces between the markers and the text

Steps to reproduce

image
in the last line there is a space between last char and ==

turn on preview mode

Expected result

image

Actual result

image

Environment

  • Operating system:
    Windows 10
  • Obsidian version:
    Obsidian 0.11.12

If we want to be commonmark compliant, the preview is right and the editor is wrong in this case

In case of bold **, both our editor and our preview are wrong.

I disagree with you. Both the preview and the editor are not commonmark compliant in this case and should be fixed.

link

3 posts were merged into an existing topic: CJK: Markdown render wrong place in edit mode within wikilink and bold