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 --- functions/date_functions.php | 1 + 1 file changed, 1 insertion(+) (limited to 'functions') diff --git a/functions/date_functions.php b/functions/date_functions.php index 74e428e..5a80cb2 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -192,6 +192,7 @@ function openevent($event_date, $time, $uid, $arr, $lines = 0, $length = 0, $lin } if (!empty($event_text)) { + $title = strip_tags(str_replace("
","\n",$title)); if ($lines > 0) { $event_text = word_wrap($event_text, $length, $lines); } -- cgit v1.2.3