commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.6k stars 534 forks source link

Link reference definition title that should not be #468

Open dbuenzli opened 1 year ago

dbuenzli commented 1 year ago
> cmark --version
cmark 0.30.3 - CommonMark converter
(C) 2014-2016 John MacFarlane

> cmark <<EOF
[bla]: /bla
"The title" garbage
[bla]
EOF
<p>&quot;The title&quot; garbage
<a href="/bla" title="The title">bla</a></p>

There should be no title attribute on the link here. We have garbage after "The title" so it's not one. The dingus gets it right.