0.55.3 missing automatic space after writing **bold** text with markdown syntax

WHAT IS THE BUG

After typing a word between “**” to make it bold (eg: **this is bold!**) you’ll notice the automatic space inserted after it is missing. This cause the word written after the closing “**” to remain attached to the bold one and remain formatted in bold.

HOW TO REPRODUCE IT

Open anytype in ver 0.55.3 (latest one basically) and type in a normal text block a bold word using markdown syntax:

this is a block of same and **here is a bold piece!**

You’ll notice that, after the closing ** there will be no automatic space inserted after applying the bold formatting to the word, and the bold style will be kept for the following words.

I found it on maOS, idk if this issue affects other version of the app too.

THE EXPECTED BEHAVIOR

After the ending “**” there should be an automatic space inserted so I can type the next word without it remaining bold

ADDITIONAL CONTEXT

It would also be cool for the block to keep memory from shortcuts such as ctrl + B as other text editor do, but using markdown is comfy too so it’s fine! This bug I found is just a bit annoying, I hope I helped finding it out :slight_smile:

TECHNICAL INFORMATION

Provide your setup info:
**I’m on a macbook air 2017 with macOS Ventura (installed with OCLP Open Core Legacy Patcher) with anytype ver 0.55.3

PS: it happens on italic too! I just found out after opening the ticket