Bold formatting not working with square brackets

Since Foundation II released, the way markdown works has not only improved, but some texts that were previously interpreted as styling are no longer treated as such.

For example, this would previously result in a bold “Test”:
**
Test
**

Now it will result in displaying the text including the stars as-is.

Also, wrapping text in square brackets breaks bold text:
[**Test**]

Both of these used to work pre-Foundation II.

Per the commonmark spec - which TeamSpeak mostly follows - the 3 line one is correct.
See CommonMark Spec
Specifically

A left-flanking delimiter run is a delimiter run that is (1) not followed by Unicode whitespace, and either (2a) not followed by a Unicode punctuation character, or (2b) followed by a Unicode punctuation character and preceded by Unicode whitespace or a Unicode punctuation character. For purposes of this definition, the beginning and the end of the line count as Unicode whitespace. […]

The other one I have to agree, seems broken, and I was just told by one of the devs that they will fix this immediately.

2 Likes

Thanks for the report I’ll forward it to the team.

2 Likes