Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
ensure cctld sx is supported
Browse files Browse the repository at this point in the history
  • Loading branch information
jakl committed Mar 11, 2013
1 parent 7a2b6af commit 9b58c44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autolink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@ tests:
text: "test http://www.example.co.jp"
expected: "test <a href=\"http://www.example.co.jp\">http://www.example.co.jp</a>"

- description: "Autolink url with .sx TLD"
text: "test http://www.example.sx"
expected: "test <a href=\"http://www.example.sx\">http://www.example.sx</a>"

- description: "DO NOT Autolink url containing ! character in the domain"
text: "badly formatted http://foo!bar.com"
expected: "badly formatted http://foo!bar.com"
Expand Down

0 comments on commit 9b58c44

Please sign in to comment.