mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
test(anchor): no protocol links are still treated as links
Closes https://github.com/showdownjs/showdown/issues/755
This commit is contained in:
parent
def6f0b453
commit
17837832b4
|
@ -0,0 +1,11 @@
|
||||||
|
<p><a href="/uri">link</a></p>
|
||||||
|
<p><a href="http://example.com/">link</a></p>
|
||||||
|
<p><a href="http://example.com">link</a></p>
|
||||||
|
<p><a href="https://example.com">link</a></p>
|
||||||
|
<p><a href="https://example.com/">link</a></p>
|
||||||
|
<p><a href="example.com">link</a></p>
|
||||||
|
<p><a href="www.example.com">link</a></p>
|
||||||
|
<p><a href="file://example.com">link</a></p>
|
||||||
|
<p><a href="file://www.example.com">link</a></p>
|
||||||
|
<p><a href="example.jpg">link</a></p>
|
||||||
|
<p><a href="example.io">link</a></p>
|
|
@ -0,0 +1,21 @@
|
||||||
|
[link](/uri)
|
||||||
|
|
||||||
|
[link](http://example.com/)
|
||||||
|
|
||||||
|
[link](http://example.com)
|
||||||
|
|
||||||
|
[link](https://example.com)
|
||||||
|
|
||||||
|
[link](https://example.com/)
|
||||||
|
|
||||||
|
[link](example.com)
|
||||||
|
|
||||||
|
[link](www.example.com)
|
||||||
|
|
||||||
|
[link](file://example.com)
|
||||||
|
|
||||||
|
[link](file://www.example.com)
|
||||||
|
|
||||||
|
[link](example.jpg)
|
||||||
|
|
||||||
|
[link](example.io)
|
Loading…
Reference in New Issue
Block a user