Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Allow Zero-Width Non-Joiner in Hashtag (for Arabic) #47

Merged
merged 1 commit into from

2 participants

Keita Fujii hontent
Keita Fujii
Collaborator

No description provided.

hontent

ship-it

Keita Fujii keitaf merged commit fc28781 into from
Chris Aniszczyk caniszczyk deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2012
  1. Keita Fujii
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  twitter-text.js
1  twitter-text.js
View
@@ -146,6 +146,7 @@ if (typeof twttr === "undefined" || twttr === null) {
addCharsToCharClass(nonLatinHashtagChars, 0xfdf0, 0xfdfb);
addCharsToCharClass(nonLatinHashtagChars, 0xfe70, 0xfe74); // Arabic Pres. Forms B
addCharsToCharClass(nonLatinHashtagChars, 0xfe76, 0xfefc);
+ addCharsToCharClass(nonLatinHashtagChars, 0x200c, 0x200c); // Zero-Width Non-Joiner
// Thai
addCharsToCharClass(nonLatinHashtagChars, 0x0e01, 0x0e3a);
addCharsToCharClass(nonLatinHashtagChars, 0x0e40, 0x0e4e);
Something went wrong with that request. Please try again.