Skip to content

Commit

Permalink
Add failing test for #151.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 11, 2024
1 parent 1ec2293 commit e81a876
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions commonmark-extensions/test/autolinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,21 @@ The autolinks extension should not interfere with regular links
.
<p><a href="http://www.google.com/">a link</a>stuff?</p>
````````````````````````````````

Autolinks with punctuation (#151):

```````````````````````````````` example
https://en.wikipedia.org/wiki/St._Petersburg_paradox
https://en.wikipedia.org/wiki/Liaison_(French)
https://en.wikipedia.org/wiki/Frederick_III,_German_Emperor
.
<p><a
href="https://en.wikipedia.org/wiki/St._Petersburg_paradox">https://en.wikipedia.org/wiki/St._Petersburg_paradox</a></p>
<p><a
href="https://en.wikipedia.org/wiki/Liaison_(French)">https://en.wikipedia.org/wiki/Liaison_(French)</a></p>
<p><a
href="https://en.wikipedia.org/wiki/Frederick_III,_German_Emperor">https://en.wikipedia.org/wiki/Frederick_III,_German_Emperor</a>/<p>
````````````````````````````````

0 comments on commit e81a876

Please sign in to comment.