Merge pull request #202 from black-puppydog/master

Break #double#hashtags at the #.
This commit is contained in:
miguelfreitas 2014-11-11 09:06:44 -02:00
commit 84841cc36f

View File

@ -322,7 +322,7 @@ function _extractHashtag(s) {
var hashtag = "";
s = reverseHtmlEntities(s);
for( var i = 0; i < s.length; i++ ) {
if( " \n\t.,:/?!;'\"()[]{}*".indexOf(s[i]) < 0 ) {
if( " \n\t.,:/?!;'\"()[]{}*#".indexOf(s[i]) < 0 ) {
hashtag += s[i];
} else {
break;