erusev / parsedown

Better Markdown Parser in PHP
https://parsedown.org
MIT License
14.69k stars 1.12k forks source link

Links with an empty target aren't converted to an anchor tag #747

Open ghost opened 4 years ago

ghost commented 4 years ago

Put this into http://parsedown.org/extra/

[Works](https://www.google.com)

[Doesn't work]()

The first link works, but the second link with an empty target is left like this in Parsedown Extra (wrong):

[Doesn't work]()

Whereas in PHP Markdown Extra it outputs this (correct):

<a href="">Doesn't work</a>