diff --git a/js/tweets.js b/js/tweets.js index 8cc3a44..083e1b0 100644 --- a/js/tweets.js +++ b/js/tweets.js @@ -35,6 +35,7 @@ function show_tweets(tweets, element) { function fmt_text(t) { t = t.replace(/(http:\/\/.*?(\s|$))/ig, '$1$2'); t = t.replace(/\@(.*?)(\s|$)/ig, '@$1$2'); + t = t.replace(/\#(.*?)(\s|$)/ig, '#$1$2'); return t; }