mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 00:48:05 +00:00
break #double#hashtags at the #.
This commit is contained in:
parent
60ff4cad8c
commit
706f17869b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user