add back in # and @ for links

This commit is contained in:
Evan Prodromou 2010-09-05 13:19:49 -04:00
parent 3da2b31652
commit 033712b1f2

View File

@ -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>";
}
}