Steps to reproduce
Place the second $$ of random blockmath on newline without any additional text. Place some headings after this blockmath and observe reading mode, links to these headings and outline break at once.
P.S. Read this post further for details, I beg you, please. This is a bit hard to explain in text.
Did I follow the troubleshooting guide? Yes
I also attached the sandbox vault with reproduced bug and all the details. Read further for the description of the sandbox vault.
Obsidian Sandbox.zip (268.5 KB)
Expected result
Properly displayed note in Reading Mode, proper outline without missing headings after blockmath, working links to headings after blockmath
Actual result
In reading mode note appears as if math broke something (though the syntax is correct). All the headings after broken blockmath disappeared (don’t see them in “outline” core plugin). Links to these headings (whish disappeared in outline) doesn’t work; they behave as if there were no such headings at all.
Environment
SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.7.7
Operating system: Windows 11 Home 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
I attached the sandbox vault where this bug is reproduced in two files: «Huge note with another kind of broken math» and «Note with broken math».
- The second file shows how particular placement of dollars and text produce expected erroneous result. See the file itself for details.
- The first file (huge one) is my algebra notes in which the same erroneous result is produced by a bit different (but similar) circumstances. You are to ignore 99% of this note and see only the very end, where I reproduced the bug. Other details and description of “different circumstances” you will find in the very end of this huge note (under # Broken part heading).
There is also a file “This is how broken documents look like in reading mode” which name suggests its content.
And the last file is “Note with working math”. It is the same as “Note with broken math” except for an absence of text right after second $$.