diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-19 16:06:49 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-12-19 16:06:49 -0800 |
commit | 231b70b987bb76a27cc8c4a36b128b4fef2178ce (patch) | |
tree | 3b22d937f34ef66acedaabc2f6366bbcbc0ada37 /include/conversation.php | |
parent | 1798ebd39524354a6955e871ce231c908f5bd0cc (diff) | |
download | volse-hubzilla-231b70b987bb76a27cc8c4a36b128b4fef2178ce.tar.gz volse-hubzilla-231b70b987bb76a27cc8c4a36b128b4fef2178ce.tar.bz2 volse-hubzilla-231b70b987bb76a27cc8c4a36b128b4fef2178ce.zip |
call zidify_links() when formatting bbcode for internal consumption
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index af64fbb90..1673bc9fb 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1564,7 +1564,7 @@ function format_location($item) { if(strpos($item['location'],'#') === 0) { $location = substr($item['location'],1); - $location = ((strpos($location,'[') !== false) ? bbcode($location) : $location); + $location = ((strpos($location,'[') !== false) ? zidify_links(bbcode($location)) : $location); } else { $locate = array('location' => $item['location'], 'coord' => $item['coord'], 'html' => ''); @@ -1616,7 +1616,7 @@ function prepare_page($item) { '$author' => (($naked) ? '' : $item['author']['xchan_name']), '$auth_url' => (($naked) ? '' : zid($item['author']['xchan_url'])), '$date' => (($naked) ? '' : datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'Y-m-d H:i')), - '$title' => smilies(bbcode($item['title'])), + '$title' => zidify_links(smilies(bbcode($item['title']))), '$body' => $body['html'], '$preview' => $preview, '$link' => $link, |