[xoops-cvslog 6678] CVS update: xoops2jp/html/modules/legacy/kernel

Back to archive index

NobuNobu nobun****@users*****
2007年 5月 2日 (水) 12:28:28 JST


Index: xoops2jp/html/modules/legacy/kernel/Legacy_TextFilter.class.php
diff -u xoops2jp/html/modules/legacy/kernel/Legacy_TextFilter.class.php:1.1.4.1 xoops2jp/html/modules/legacy/kernel/Legacy_TextFilter.class.php:1.1.4.2
--- xoops2jp/html/modules/legacy/kernel/Legacy_TextFilter.class.php:1.1.4.1	Mon Apr 30 16:32:08 2007
+++ xoops2jp/html/modules/legacy/kernel/Legacy_TextFilter.class.php	Wed May  2 12:28:27 2007
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package Legacy
- * @version $Id: Legacy_TextFilter.class.php,v 1.1.4.1 2007/04/30 07:32:08 nobunobu Exp $
+ * @version $Id: Legacy_TextFilter.class.php,v 1.1.4.2 2007/05/02 03:28:27 nobunobu Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -283,7 +283,7 @@
         $replacements[0][] = $replacements[1][] = '<a href="http://\\2" target="_blank">\\3</a>';
         $patterns[] = "/\[color=(['\"]?)([a-zA-Z0-9]*)\\1](.*)\[\/color\]/sU";
         $replacements[0][] = $replacements[1][] = '<span style="color: #\\2;">\\3</span>';
-        $patterns[] = "/\[size=(['\"]?)([a-z]*)\\1](.*)\[\/size\]/sU";
+        $patterns[] = "/\[size=(['\"]?)([a-z-]*)\\1](.*)\[\/size\]/sU";
         $replacements[0][] = $replacements[1][] = '<span style="font-size: \\2;">\\3</span>';
         $patterns[] = "/\[font=(['\"]?)([^;<>\*\(\)\"']*)\\1](.*)\[\/font\]/sU";
         $replacements[0][] = $replacements[1][] = '<span style="font-family: \\2;">\\3</span>';


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