Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9498/functions
Modified Files:
date_functions.php
Log Message:
fix tags and linebreaks in tooltips
Index: date_functions.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** date_functions.php 7 Jan 2009 20:20:03 -0000 1.49
--- date_functions.php 1 Feb 2009 21:22:24 -0000 1.50
***************
*** 193,196 ****
--- 193,197 ----
if (!empty($event_text)) {
+ $title = strip_tags(str_replace("<br />","\n",$title));
if ($lines > 0) {
$event_text = word_wrap($event_text, $length, $lines);
|