Code block language recognition for aspx causes editor crash

Steps to reproduce

Insert a fenced code block. Set the language to aspx; ie the following without slashes,

Some stuff

(I have the Obsidian Nord theme, with Obsidian set to dark mode.)

Expected result

Code highlighting for aspx.

Actual result

A full crash of the edit pane, with “An error occurred while opening obsidian”. Only fix was to use an external editor to remove the code block.


  • Operating system: Windows 10
  • Obsidian version: v0.12.15

Additional information

I can’t reproduce. Post a screen recording of this happening in the help vault.