From: <par...@us...> - 2009-05-27 17:21:05
|
Update of /cvsroot/phpicalendar/phpicalendar/functions/init In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23515/functions/init Modified Files: sanitize.php Log Message: Fix tab/newline parsing Index: sanitize.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init/sanitize.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sanitize.php 20 May 2009 17:13:19 -0000 1.5 --- sanitize.php 27 May 2009 17:21:01 -0000 1.6 *************** *** 61,65 **** $string = str_replace("\n", '<br />', $string); ! return $string; } --- 61,66 ---- $string = str_replace("\n", '<br />', $string); ! $string = str_replace("\t", ' ', $string); ! return $string; } |