aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-29 20:11:36 -0700
committerfriendica <info@friendica.com>2012-06-29 20:11:36 -0700
commit78e03abed8e72e29d2463e9de8e279dc86e5d39e (patch)
treecbb320bc3f1ae6b16cf99fa397d07e0ee34dbbf6 /mod
parentbe658788de3632599d00483511439a3df537b854 (diff)
downloadvolse-hubzilla-78e03abed8e72e29d2463e9de8e279dc86e5d39e.tar.gz
volse-hubzilla-78e03abed8e72e29d2463e9de8e279dc86e5d39e.tar.bz2
volse-hubzilla-78e03abed8e72e29d2463e9de8e279dc86e5d39e.zip
convert ent_quotes for jquery calendar title/summary
Diffstat (limited to 'mod')
-rwxr-xr-xmod/events.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php
index 7940e79a4..bf02f8309 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -280,10 +280,10 @@ function events_content(&$a) {
$last_date = $d;
$edit = ((! $rr['cid']) ? array($a->get_baseurl().'/events/event/'.$rr['id'],t('Edit event'),'','') : null);
- $title = strip_tags(bbcode($rr['summary']));
+ $title = strip_tags(html_entity_decode(bbcode($rr['summary']),ENT_QUOTES,'UTF-8'));
if(! $title) {
list($title, $_trash) = explode("<br",bbcode($rr['desc']),2);
- $title = strip_tags($title);
+ $title = strip_tags(html_entity_decode($title,ENT_QUOTES,'UTF-8'));
}
$html = format_event_html($rr);
$rr['desc'] = bbcode($rr['desc']);