Browse Source

Merge pull request #202 from black-puppydog/master

Break #double#hashtags at the #.
master
miguelfreitas 10 years ago
parent
commit
84841cc36f
  1. 2
      js/twister_formatpost.js

2
js/twister_formatpost.js

@ -322,7 +322,7 @@ function _extractHashtag(s) {
var hashtag = ""; var hashtag = "";
s = reverseHtmlEntities(s); s = reverseHtmlEntities(s);
for( var i = 0; i < s.length; i++ ) { 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]; hashtag += s[i];
} else { } else {
break; break;

Loading…
Cancel
Save