Issue with craft.markdown.markdownToCraftBlocks and multiple formatings

Hi guys,

I’m currently working on importing metadata from Todoist into Craft.
I wanted to import labels from todoist and format them highlighted and also emphasized.
I use this snippet to include the name of the label into a string:
mdString = mdString + " *::@" + label.name + "::*";
which is then parsed by the craft.markdown.markdownToCraftBlocks API.

This results in the craft block with a duplicated label.name one is highlighted and one is emphazised:
Bildschirmfoto 2022-02-25 um 08.16.39
Is this intended?

I’m aware that I could format the blocks using the styling documented here: https://documentation.developer.craft.do/extensions/data-model/block/text but its way easier by just using markdown :smiley:

additionally it seems like “- [ ]” is rendered correct as open task but “- [x]” is also rendered as open task…