Permalink
Browse files

Merge pull request #64 from yaauie/keep-display-case-when-linking-use…

…rname

Keep display case when linking usernames
  • Loading branch information...
2 parents 7ebf8fa + e5a575a commit 9740356201404b8e048e83a98e338b0894cc121b @jakl jakl committed Dec 20, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
@@ -64,6 +64,10 @@ tests:
text: "@foo îs in the house"
expected: "@<a class=\"tweet-url username\" href=\"https://twitter.com/foo\">foo</a> îs in the house"
+ - description: "Keep display case when linking MixedCase username"
+ text: "@MixedCase"
+ expected: "@<a class=\"tweet-url username\" href=\"https://twitter.com/mixedcase\">MixedCase</a>"
+
lists:
- description: "Autolink list preceded by a space"
text: "text @username/list"

0 comments on commit 9740356

Please sign in to comment.