mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-26 22:54:45 +00:00
added ' and ; to hastag delimiters
This commit is contained in:
parent
114cc7866e
commit
0d3ad364b6
@ -310,7 +310,7 @@ function _extractUsername(s) {
|
||||
function _extractHashtag(s) {
|
||||
var hashtag = "";
|
||||
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…
x
Reference in New Issue
Block a user