From 706f17869bcb59200b9247df187a54dd52990720 Mon Sep 17 00:00:00 2001 From: Daan Wynen Date: Tue, 11 Nov 2014 02:06:25 +0100 Subject: [PATCH] break #double#hashtags at the #. --- js/twister_formatpost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/twister_formatpost.js b/js/twister_formatpost.js index f5c25cd..5e271c9 100644 --- a/js/twister_formatpost.js +++ b/js/twister_formatpost.js @@ -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;