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 /Zotlabs/Module/Events.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 'Zotlabs/Module/Events.php')
-rw-r--r-- | Zotlabs/Module/Events.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Events.php b/Zotlabs/Module/Events.php index b8910b644..863bdf3cb 100644 --- a/Zotlabs/Module/Events.php +++ b/Zotlabs/Module/Events.php @@ -625,14 +625,14 @@ class Events extends \Zotlabs\Web\Controller { $drop = array(z_root().'/events/drop/'.$rr['event_hash'],t('Delete event'),'',''); - $title = strip_tags(html_entity_decode(bbcode($rr['summary']),ENT_QUOTES,'UTF-8')); + $title = strip_tags(html_entity_decode(zidify_links(bbcode($rr['summary'])),ENT_QUOTES,'UTF-8')); if(! $title) { list($title, $_trash) = explode("<br",bbcode($rr['desc']),2); $title = strip_tags(html_entity_decode($title,ENT_QUOTES,'UTF-8')); } $html = format_event_html($rr); - $rr['desc'] = bbcode($rr['desc']); - $rr['location'] = bbcode($rr['location']); + $rr['desc'] = zidify_links(smilies(bbcode($rr['desc']))); + $rr['location'] = zidify_links(smilies(bbcode($rr['location']))); $events[] = array( 'id'=>$rr['id'], 'hash' => $rr['event_hash'], |