Skip to content
Browse files

Merge pull request #42 from kscanne/combining_chars_in_hashtags

Add test cases for combining diacritics
  • Loading branch information...
2 parents e9cf440 + 9560ddb commit 22482df2814a850353ffea2f76c52d2abfa47827 @keitaf keitaf committed May 2, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 autolink.yml
View
4 autolink.yml
@@ -374,6 +374,10 @@ tests:
text: "#mûǁae"
expected: "<a href=\"https://twitter.com/#!/search?q=%23mûǁae\" title=\"#mûǁae\" class=\"tweet-url hashtag\">#mûǁae</a>"
+ - description: "Autolink hashtags with combining diacritics"
+ text: "#táim #hag̃ua"
+ expected: "<a href=\"https://twitter.com/#!/search?q=%23táim\" title=\"#táim\" class=\"tweet-url hashtag\">#táim</a> <a href=\"https://twitter.com/#!/search?q=%23hag̃ua\" title=\"#hag̃ua\" class=\"tweet-url hashtag\">#hag̃ua</a>"
+
- description: "Autolink Arabic hashtag"
text: "Arabic hashtag: #فارسی #لس_آنجلس"
expected: "Arabic hashtag: <a href=\"https://twitter.com/#!/search?q=%23فارسی\" title=\"#فارسی\" class=\"tweet-url hashtag\">#فارسی</a> <a href=\"https://twitter.com/#!/search?q=%23لس_آنجلس\" title=\"#لس_آنجلس\" class=\"tweet-url hashtag\">#لس_آنجلس</a>"

0 comments on commit 22482df

Please sign in to comment.
Something went wrong with that request. Please try again.