forked from GNUsocial/gnu-social
add back in # and @ for links
This commit is contained in:
parent
3da2b31652
commit
033712b1f2
@ -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>";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user