Quick loom to explain the issue:
https://www.loom.com/share/9e24502606b94d80b18c8596e6877f6b?sid=1c65236a-0543-4ee7-9f6b-02d89d194551
To fix this, change line 97 in app/components/diff-viewer.tsx to:
ignorePunctuation ? text.toLowerCase().replace(/[^\p{L}\p{N}\s]/gu, "") : text