1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Permit empty links

This commit is contained in:
Aidan Woods
2019-01-27 20:53:11 +00:00
parent 5ada761532
commit 0f55cd5b26
5 changed files with 8 additions and 10 deletions

View File

@@ -1,3 +1 @@
<p><a href="#fragment">link</a></p>
<p><a href="http://example.com#fragment">link</a></p>
<p><a href="http://example.com?foo=3#frag">link</a></p>
<p><a href="">link</a></p>

View File

@@ -1,5 +1 @@
[link](#fragment)
[link](http://example.com#fragment)
[link](http://example.com?foo=3#frag)
[link]()

View File

@@ -0,0 +1 @@
<p><a href="">foo</a></p>

View File

@@ -0,0 +1,3 @@
[foo]()
[foo]: /url1