Browse files

autolink usernames followed by :

  • Loading branch information...
1 parent 5b465dd commit 687d3351ef32b30f46f86e627a30b065cbd02887 @bcherry bcherry committed Nov 1, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
4 autolink.yml
@@ -57,6 +57,10 @@ tests:
text: "@foo @bar"
expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/foo\">foo</a> @<a class=\"tweet-url username\" href=\"http://twitter.com/bar\">bar</a>"
+ - description: "Autolink usernames followed by :"
+ text: "@foo: @bar"
+ expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/foo\">foo</a>: @<a class=\"tweet-url username\" href=\"http://twitter.com/bar\">bar</a>"
+
- description: "Autolink usernames that are followed by international characters"
text: "@foo îs in the house"
expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/foo\">foo</a> îs in the house"

0 comments on commit 687d335

Please sign in to comment.