Browse files

Add a test to autolink t.co URL followed by punctuation.

  • Loading branch information...
1 parent 9881324 commit 29d0a1bfbea73dc9f4b551ab0523c337ba3f436c @keitaf keitaf committed Dec 2, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
4 autolink.yml
@@ -627,6 +627,10 @@ tests:
text: "See: www.twitter.com or twitter.com/twitter"
expected: "See: www.twitter.com or twitter.com/twitter"
+ - description: "Autolink t.co URL followed by punctuation"
+ text: "See: http://t.co/abcde's page"
+ expected: "See: <a href=\"http://t.co/abcde\">http://t.co/abcde</a>'s page"
+
all:
- description: "Autolink all does not break on URL with @"
text: "http://www.flickr.com/photos/29674651@N00/4382024406 if you know what's good for you."

0 comments on commit 29d0a1b

Please sign in to comment.