File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -9242,16 +9242,22 @@ Visit www.commonmark.org/a.b.
92429242
92439243When an autolink ends in `)`, we scan the entire autolink for the total number
92449244of parentheses. If there is a greater number of closing parentheses than
9245- opening ones, we don't consider the last character part of the autolink, in
9246- order to facilitate including an autolink inside a parenthesis:
9245+ opening ones, we don't consider the unmatched trailing parentheses part of the
9246+ autolink, in order to facilitate including an autolink inside a parenthesis:
92479247
92489248```````````````````````````````` example autolink
92499249www.google.com/search?q=Markup+(business)
92509250
9251+ www.google.com/search?q=Markup+(business)))
9252+
92519253(www.google.com/search?q=Markup+(business))
9254+
9255+ (www.google.com/search?q=Markup+(business)
92529256.
92539257<p><a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a></p>
9258+ <p><a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a>))</p>
92549259<p>(<a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a>)</p>
9260+ <p>(<a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a></p>
92559261````````````````````````````````
92569262
92579263This check is only done when the link ends in a closing parentheses `)`, so if
You can’t perform that action at this time.
0 commit comments