--- inc/global.php 2001/09/28 23:34:37 1.14 +++ inc/global.php 2001/10/02 16:18:09 1.15 @@ -52,7 +52,7 @@ '\$allowed,false)?"\1":HTMLSpecialChars("\1")', $str); $str = preg_replace('/(\<\s*A\b)/i', '\\1 target=_blank class=more', $str); $str = preg_replace('/(\<\s*TABLE\b)/i', '\\1 class=normal', $str); - $str = preg_replace('/(class=normal)( class=normal)+/', '\\1', $str); + $str = preg_replace('/(class=[^ ]+)( class=[^ ]+)+/', '\\1', $str); $str = my_replace($str, ""); $str = my_replace($str, "", true); $str = my_replace($str, "");