Weird text selection in mixed Left-to-Right Right-to-Left

Steps to reproduce

Selected text from a copy-paste coming from chatgpt or Claude.ai in mixed English and Arabic about Arabic numbers, with additional edits for highlights and bold.

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

Expected result

Entire text selected

Actual result

Only partial text selected, per https://www.reddit.com/r/ObsidianMD/comments/1hi14a2/is_it_just_me_or_text_selection_in_mixed/

Environment

Windows 11 + Obsidian 1.7.7


Additional information

As a note. The reddit post has enough context to show what is happening. The template would not help so much here.

@FDCS It would be helpful if you can include any community plugins you were using, if any.

can you attach a copy of the note where this happens?