[Bug] Extra text appeared when typing `<img src`

Steps to reproduce

  1. Open up Obsidian and a file.
  2. Type exactly these:
    <img sr
  3. Type down c.

Expected result

It should just show <img src.

Actual result

These came out:


  • Operating system: Android 11 (OneUI 3.1), Samsung Galaxy S21 Ultra
  • Version: Mobile Insider v1.2.1 (Build 52)
  • Debug info: Not accessible

Additional information

Moving the cursor again temporarily fixes this problem, but keep typing text without doing so could led to text desync of the editor and the file…