Skip to content

Commit

Permalink
Add tests for links with multiple underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
askmrsinh authored and gettalong committed Mar 20, 2023
1 parent adfef7b commit dc2952b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/testcases/span/02_emphasis/normal.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
Or that <em>*that</em>* way
Or that *<em>that*</em> way</p>

<p><a href="http://blah.com/blah_%28">http://blah.com/blah_%28</a></p>
<p><a href="http://blah.com/blah_%28">http://blah.com/blah_%28</a>
<a href="http://blah.com/blah__%28">http://blah.com/blah__%28</a>
<a href="http://blah.com/blah___%28">http://blah.com/blah___%28</a>
<a href="http://blah.com/blah____%28">http://blah.com/blah____%28</a>
<a href="http://blah.com/blah_____%28">http://blah.com/blah_____%28</a>
<a href="http://blah.com/blah______%28">http://blah.com/blah______%28</a></p>

<p><a href="A_-B">A-_B</a></p>

Expand Down
5 changes: 5 additions & 0 deletions test/testcases/span/02_emphasis/normal.text
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ Or that *\*that*\* way
Or that \**that\** way

[http://blah.com/blah_%28](http://blah.com/blah_%28)
[http://blah.com/blah__%28](http://blah.com/blah__%28)
[http://blah.com/blah___%28](http://blah.com/blah___%28)
[http://blah.com/blah____%28](http://blah.com/blah____%28)
[http://blah.com/blah_____%28](http://blah.com/blah_____%28)
[http://blah.com/blah______%28](http://blah.com/blah______%28)

[A-_B](A_-B)

Expand Down

0 comments on commit dc2952b

Please sign in to comment.