Obsidian formatting breaks with Google Keyboard undo button

Steps to reproduce

When I use obsidian on my mobile app, if I have headings with #s or links [], they get replaced with OBJ symbols if I use my Google keyboard’s Undo button. Undo shows up when I use the swipe to delete function on the Google keyboard

Please could you investigate this bug?

Did you follow the troubleshooting guide? [Y/N]

yes I promise I was able to mess around with it on a new vault and it occured! I had to use undo after deleting half of a heading.

Expected result

I expect the #s or [[]] to not turn into OBJ format

Actual result

Square OBJ box in place of heading

Environment

SYSTEM INFO:
Operating system: android 14 (samsung SM-S918B)
Obsidian version: 1.8.9 (195)
API version: v1.8.9
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information


I just had this exact same thing happen.It seemed only to cause the OBJ issue (when I used Google Keyboard unto button) above where I had the cursor. None of the brackets or #s below the cursor changed into OBJs.

SYSTEM INFO:
Operating system: Android version 15
Obsidian version: 1.8.9
API version: ?
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: Dark
Community theme: Minimal with Style Settings tweaks
Snippets enabled: 0
Restricted mode: off

Yes I can reproduce this.

It kept happening to me, but I ignored it, until now.
It seems like I accidentally pressed undo/redo sometime during the day and now NONE of the formatting ANYWHERE in my vault works?

Does someone know how to fix this, because this seems to be a bug more serious than I thought.

Thanks in advance!

Also, it seems to mess up only the live editing preview, not the reading view somehow?
(After you have cleaned the obj squares and now nothing renders as supposed but stays the same as if on Source mode)

Edit: reindexing my vault fixed the issue.
The bug is not solved tho, just have to avoid the undo button now.