[xoops-cvslog 2335] CVS update: xoops2jp/html/class

Back to archive index

NobuNobu nobun****@users*****
2006年 2月 18日 (土) 23:51:46 JST


Index: xoops2jp/html/class/module.textsanitizer.php
diff -u xoops2jp/html/class/module.textsanitizer.php:1.2.8.4 xoops2jp/html/class/module.textsanitizer.php:1.2.8.5
--- xoops2jp/html/class/module.textsanitizer.php:1.2.8.4	Fri Jan 27 23:38:08 2006
+++ xoops2jp/html/class/module.textsanitizer.php	Sat Feb 18 23:51:46 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: module.textsanitizer.php,v 1.2.8.4 2006/01/27 14:38:08 nobunobu Exp $
+// $Id: module.textsanitizer.php,v 1.2.8.5 2006/02/18 14:51:46 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -295,7 +295,8 @@
      */
     function &nl2Br($text)
     {
-        return preg_replace("/(\015\012)|(\015)|(\012)/","<br />",$text);
+        $ret = preg_replace("/(\015\012)|(\015)|(\012)/","<br />",$text);
+        return $ret;
     }
 
     /**


xoops-cvslog メーリングリストの案内
Back to archive index