]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add back in # and @ for links
authorEvan Prodromou <evan@status.net>
Sun, 5 Sep 2010 17:19:49 +0000 (13:19 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 7 Sep 2010 08:00:59 +0000 (04:00 -0400)
plugins/TwitterBridge/daemons/twitterstatusfetcher.php

index 45cb178556a176a1ac3f91c64e5d1f2a42517485..b310b8f36adecc5b87fba1a8110e4794f1a3f07c 100755 (executable)
@@ -769,12 +769,12 @@ class TwitterStatusFetcher extends ParallelizingDaemon
 
     function makeHashtagLink($object)
     {
-        return "<a href='https://twitter.com/search?q=%23{$object->text}' class='hashtag'>{$object->text}</a>";
+        return "#<a href='https://twitter.com/search?q=%23{$object->text}' class='hashtag'>{$object->text}</a>";
     }
 
     function makeMentionLink($object)
     {
-        return "<a href='http://twitter.com/{$object->screen_name}' title='{$object->name}'>{$object->screen_name}</a>";
+        return "@<a href='http://twitter.com/{$object->screen_name}' title='{$object->name}'>{$object->screen_name}</a>";
     }
 }