Open
Description
Check for existing bug reports before submitting.
- I searched for existing Bug Reports and found no similar reports.
Expected Behavior
The dice roller expression fails to work, but the markdown file still loads.
Current behaviour
A "failed to open" toast appears in the top left, along with the following logs in console:
RangeError: Decorations that replace line breaks may not be specified via plugins
at e.point (app.js:1:339025)
at e.spans (app.js:1:295577)
at e.build (app.js:1:340067)
at t.updateChildren (app.js:1:355362)
at t.updateInner (app.js:1:353846)
at t.update (app.js:1:353650)
at e.update (app.js:1:443479)
at e.dispatchTransactions (app.js:1:440040)
at e.dispatch (app.js:1:442028)
at t.set (app.js:1:1622386)
(anonymous) @ app.js:1
Reproduction
Make a file like this: https://gist.github.com/Restioson/872daa6b46b73f696549b30c53c2a44e. The fact that the markdown is malformed is necessary!
Enable the plugin and try to open the Random page again. It should crash
Which Operating Systems are you using?
- Android
- iPhone/iPad
- Linux
- macOS
- Windows
Obsidian Version Check
1.7.7 and 1.4.16
Plugin Version
11.4.1
Confirmation
- I have disabled all other plugins and the issue still persists.
Metadata
Metadata
Assignees
Labels
No labels