diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2009-02-01 21:22:24 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2009-02-01 21:22:24 +0000 |
commit | dd55313b66a25eeb19f708b9d050bb53d76abba0 (patch) | |
tree | 7e0a07cc6ad1e3b5c60b48175fd10a620cebeff6 /functions | |
parent | c819776288d31859f6f13e74f7dd7e2f875d6d15 (diff) | |
download | phpicalendar-dd55313b66a25eeb19f708b9d050bb53d76abba0.tar.gz phpicalendar-dd55313b66a25eeb19f708b9d050bb53d76abba0.tar.bz2 phpicalendar-dd55313b66a25eeb19f708b9d050bb53d76abba0.zip |
fix tags and linebreaks in tooltips
Diffstat (limited to 'functions')
-rw-r--r-- | functions/date_functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
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("<br />","\n",$title)); if ($lines > 0) { $event_text = word_wrap($event_text, $length, $lines); } |