From: Gabriel Wicke Date: Thu, 15 Apr 2004 16:06:25 +0000 (+0000) Subject: div again, we don't really know what will be inside the center tags. Could be another... X-Git-Tag: 1.3.0beta1~424 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=34f603fe70a28184a0edb3c18cb2b210f1181e16;p=lhc%2Fweb%2Fwiklou.git div again, we don't really know what will be inside the center tags. Could be another div for example, or a table. --- diff --git a/includes/Parser.php b/includes/Parser.php index 49fdedcc92..6761647024 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -96,8 +96,8 @@ class Parser $fixtags = array( "/
/i" => '
', "/
/i" => '
', - "/
/i"=>'

', - "/<\\/center *>/i" => '

', + "/
/i"=>'
', + "/<\\/center *>/i" => '
', # Clean up spare ampersands; note that we probably ought to be # more careful about named entities. '/&(?!:amp;|#[Xx][0-9A-fa-f]+;|#[0-9]+;|[a-zA-Z0-9]+;)/' => '&'