Closed xiaosenmao closed 2 months ago
It looks like marked does the same thing as commonmark
I think the issue you are seeing is because the commonmark spec has very specific conditions on what can be to the left and right of it.
Thank you, but the result seems abnormal when the bold text in the example contains the currency symbol ¥ or $.
You can try to suggest a change to the commonmark spec since that is what marked follows to know how markdown should be converted to html. If they change the spec we can change marked to follow it.
If some characters appear in the middle and end of ** at the same time, strong text cannot be parsed. will check commonmark spec
Marked version: 14.0.0
Describe the bug When bold content contains special symbols, parsing error occurs
To Reproduce Steps to reproduce the behavior:
If possible, use the Marked Demo permalink and compare to the CommonMark Dingus permalink to demonstrate the bug