Closed beatgammit closed 12 years ago
Fixed last night in the other link bug. Output is now
Lorem ipsum (<a href="http://www.lipsum.com/)">lorem ipsum</a> dolar sit amut.</p>
which looks right now.
Gah that's clearly not. The end of the regex is in the wrong place.
I have something like this:
However, the last closing paren is removed. I am getting something like this instead:
Github does this correctly, as does dingus.
I tracked it down to markdown.js:823,
This regex is greedily matching up to the last
)
.