add back in # and @ for links

This commit is contained in:
Evan Prodromou 2010-09-05 13:19:49 -04:00
parent 2de6d0b03d
commit c2c6acbfd2
1 changed files with 2 additions and 2 deletions

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