Link with underscores and parantheses wrapped in underscores is parsed incorrectly #3468
Labels
category: inline elements
L2 - annoying
Similar to L1 - broken but there is a known workaround available for the issue
Marked version: 14.1.2
Describe the bug
A link is not parsed correctly if it contains underscores and parantheses, and is itself wrapped with underscores (e.g. for styling italics).
Pattern:
_[Link title](https://domain.org/link_with_underscores_(parantheses))_
To Reproduce
Open Marked demo link. In CommonMark Demo it is displayed correctly.
Expected behavior
Only (interactive) link title should be displayed with italics/bold styling (see CommonMark demo).
The text was updated successfully, but these errors were encountered: