We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc0ffa commit 85eb54fCopy full SHA for 85eb54f
2 files changed
src/mistune/helpers.py
@@ -19,8 +19,8 @@
19
20
LINK_TITLE_RE = re.compile(
21
r"[ \t\n]+("
22
- r'"(?:\\' + PUNCTUATION + r'|[^"\x00])*"|' # "title"
23
- r"'(?:\\" + PUNCTUATION + r"|[^'\x00])*'" # 'title'
+ r'"(?:\\' + PUNCTUATION + r'|[^"\\\x00])*"|'
+ r"'(?:\\" + PUNCTUATION + r"|[^'\\\x00])*'"
24
r")"
25
)
26
PAREN_END_RE = re.compile(r"\s*\)")
tests/test_commonmark.py
@@ -18,6 +18,7 @@
18
# we don't support link title in (title)
"links_496",
"links_504",
+ "link_reference_definitions_202",
# we don't support flanking delimiter run
"emphasis_and_strong_emphasis_352",
"emphasis_and_strong_emphasis_367",
0 commit comments