From dd55313b66a25eeb19f708b9d050bb53d76abba0 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sun, 1 Feb 2009 21:22:24 +0000 Subject: fix tags and linebreaks in tooltips --- rss/rss2.0.php | 4 +++- rss/rss_common.php | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'rss') diff --git a/rss/rss2.0.php b/rss/rss2.0.php index 7e37ec3..2cfef4a 100644 --- a/rss/rss2.0.php +++ b/rss/rss2.0.php @@ -84,6 +84,8 @@ function rss_noitems(){ } function rss_close(){ - return "\n\n\n"; + global $rss_link; + return "\n + \n\n\n"; } ?> diff --git a/rss/rss_common.php b/rss/rss_common.php index 4601357..dc3c5ca 100644 --- a/rss/rss_common.php +++ b/rss/rss_common.php @@ -185,8 +185,8 @@ do { #uncomment for shorter event text with ... # $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); $description = stripslashes(urldecode($val["description"])); - $description = str_replace('
',"\n",$description); - $description = strip_tags($description, ''); + # $description = str_replace('
',"\n",$description); + $description = strip_tags($description, '
'); $description = str_replace('&','&',$description); $description = str_replace('&','&',$description); $rss_title = urldecode ("$dayofweek: $event_text"); -- cgit v1.2.3