twitter2jabber 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/twitter2jabber.rb +2 -2
- data/lib/twitter2jabber/version.rb +1 -1
- metadata +1 -1
data/README
CHANGED
data/lib/twitter2jabber.rb
CHANGED
@@ -222,8 +222,8 @@ class Twitter2Jabber
|
|
222
222
|
end
|
223
223
|
|
224
224
|
def process_html(text)
|
225
|
-
text.gsub(/(?=\A|\W)@(\w+)/, '@<a href="http://twitter.com/\
|
226
|
-
gsub(/(?=\A|\W)(
|
225
|
+
text.gsub(/(?=\A|\W)@(\w+)/, '@<a href="http://twitter.com/\1">\1</a>').
|
226
|
+
gsub(/(?=\A|\W)#(\w+)/, '<a href="http://search.twitter.com/search?q=%23\1">#\1</a>')
|
227
227
|
end
|
228
228
|
|
229
229
|
def process_text(text)
|