Bug #23587 Bug Fixed

Markdown incorrectly parsing inline links that include a title

Version: 4.2.1 Reporter: Rick Lecoat

Using the standard Markdown syntax for ‘inline’ links (as opposed to ‘reference’-style links) works okay unless a title attribute is specified. Reference-style links work fine with or without the title attribute. So:

[Google link](http://google.com)


<a href="http://google.com">Google link</a>


[1]: http://google.com/ "visit Google"
[Google link][1]


<a href="http://google.com/" title="visit Google">Google link</a>


[Google link](http://google.com "visit Google")


<a href="http://google.com">Google link</a>

You can see that the spaces and quotation marks between the end of the URL and the closing parenthesis have been wrongly turned into entities. I just tested this on a clean install and it still occurs. This is on EE 4.2.1 but I don’t know if the issue predates that version or not.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases