Skip to content

Commit

Permalink
Merge pull request twitter-archive#4 from sayrer/master
Browse files Browse the repository at this point in the history
Just some small fixes.
  • Loading branch information
mzsanford committed Jul 25, 2011
2 parents a6cb67a + defa61f commit 155c979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test("twttr.txt.htmlEscape", function() {
[">", ">"],
["<", "&lt;"],
["\"", "&quot;"],
["'", "&#32;"],
["'", "&#39;"],
["&<>\"", "&amp;&lt;&gt;&quot;"],
["<div>", "&lt;div&gt;"],
["a&b", "a&amp;b"],
Expand Down
3 changes: 1 addition & 2 deletions twitter-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ if (!window.twttr) {
twttr.txt.regexen.nonLatinHashtagChars = regexSupplant(nonLatinHashtagChars.join(""));
// Latin accented characters (subtracted 0xD7 from the range, it's a confusable multiplication sign. Looks like "x")
twttr.txt.regexen.latinAccentChars = regexSupplant("ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ\\303\\277");
twttr.txt.regexen.latenAccents = regexSupplant(/[#{latinAccentChars}]+/);

twttr.txt.regexen.endScreenNameMatch = regexSupplant(/^(?:#{atSigns}|[#{latinAccentChars}]|:\/\/)/);

Expand Down Expand Up @@ -727,7 +726,7 @@ if (!window.twttr) {
}
}

return false
return false;
};

twttr.txt.isValidTweetText = function(text) {
Expand Down

0 comments on commit 155c979

Please sign in to comment.