Permalink
Browse files

Keep display case when linking usernames

  • Loading branch information...
1 parent 7ebf8fa commit e5a575a9c33dd3e513f84dfefd03e31a752da52f @yaauie yaauie 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 e5a575a

Please sign in to comment.