CodeMirror Causes Freezing for Crystal Code Blocks

This bug was reported here to CodeMirror: Crystal HEREDOCs Cause Freezing · Issue #7092 · codemirror/codemirror5 · GitHub
and patched today: Fix an infinite loop in Crystal heredoc tokenizing · codemirror/legacy-modes@9ac2311 · GitHub

Obsidian needs to update their language packages for CodeMirror.

Steps to reproduce

  1. Open a new note
  2. Write a code block with the crystal language set
  3. Write <<-'HERE' followed by any key
  4. It freezes (stuck in infinite loop)

Did you follow the troubleshooting guide?


Expected result

To not freeze

Actual result

It froze


Additional information