Bold "@" in block quote doesn't render correctly #1831
Labels
category: blockquotes
category: inline elements
L2 - annoying
Similar to L1 - broken but there is a known workaround available for the issue
released
Marked version:
1.1.1 and 1.2.4
Describe the bug
We use marked for comments in our app, and having a bold mention in the second line of a block quote doesn't work.
To Reproduce
This input:
Produces this HTML:
I could not repro the bug in the Marked Demo because it does not support newlines/br tags (or I couldn't figure out how to use them).
Expected behavior
The
> **@person**
line should be wrapped in<strong>
tags, but it instead shows the asterisks. This only repros when the bolded mention is after the first line, is at the beginning of the line, and starts with a@
.Expected output
The text was updated successfully, but these errors were encountered: