Reader: Underline before equations displays incorrectly

Steps to reproduce

write the markdown in obsidian, then open the read mode.

A_B_C, B$_{def}$

Expected result

image

Actual result

image

Environment

  • Operating system: win 11
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.15.9
    Installer version: v0.15.6
    Operating system: Windows 10 Home China 10.0.22000
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on

RECOMMENDATIONS:
none


Additional information

This is not a bug. We just don’t support this.

I don’t know why it is not a bug. Could you explain more?

My thought is that something like “A_B_C” is just a normal text (not an equation), it should be displayed as it is. And it is displayed correctly in the preview mode, just incorrect in the read mode.

1 Like

The markdown text I given is copied from another markdown editor joplin which does not have this problem.
And I also tested the markdown text in vscode, it gives the expected result.
So, the expected result is right, the actual result is wrong, and I believe it’s bug :grinning:

1 Like

Thanks, I doublechecked. I’ll move back to bug reports.

1 Like