marked
marked copied to clipboard
Broken "Strong" transform
Marked version: 4.0.1
Describe the bug if inside bold text from the right border there is an escaped square open bracket and there is a closing brace behind "**", then bold text is not recognized
To Reproduce
Expected behavior
This seems to be in conflict with the spec: https://spec.commonmark.org/0.30/#right-flanking-delimiter-run
Edit: Misread the spec. This indeed looks like valid markdown. I wonder if our backslash escapes are resulting in characters not being recognized as "punctuation".