Text fragment works incorrect

What’s The Bug?

If there is two $ symbols in a string, the text formatting is getting wrong.

How To Reproduce It

insert this text: “$ text1 $ text2”

Image or Video

The Expected Behavior

it should look like: “$ text1 $ text2” but it looks like “text1 text2” and the first word is Italic

Device

PC

OS

Windows 11

Anytype Version

v0.42.6

Network Mode

Anysync (i’m not sure)

Technical Information

OS version: win32 x64 10.0.22631
App version: 0.42.6
Build number: build on 2024-09-04 16:13:12 +0000 UTC at #7566ef7f4b24cb327746c4f0bedfaad55ef9fd94 (dirty)
Library version: v0.35.6
Anytype Identity: A7Rr6JHaZi6sZU3Gvw8LQpWwFiNWzAhLwVxfjTZgU2MXrphj
Analytics ID: 2c1fa0e7-86e7-46c0-ad01-0bec174cd19a
Device ID: 12D3KooWDRsbuLry35BHeCrMpbTgsSHjvANAMnUV3DHVuvgDMcNc

There’s no bug here. $ symbols are used for Inline LaTeX Addition.

For people that don’t know and don’t use LaTeX, this is a problem. If writing paragraphs about financial thing lead to this for each pairs of dollars signs, this prevent the normal behavior of a text processor.

Is it any option to disable or override such behavour?

Nothing at the moment.