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

Commit

Permalink
Add a test to autolink t.co URL followed by punctuation.
Browse files Browse the repository at this point in the history
  • Loading branch information
keita committed Dec 2, 2011
1 parent 9881324 commit 29d0a1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autolink.yml
Expand Up @@ -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."
Expand Down

0 comments on commit 29d0a1b

Please sign in to comment.