From: Tim Starling Date: Thu, 15 Apr 2004 11:26:29 +0000 (+0000) Subject: fixing
: text-align is a block level element, needs to be in a div X-Git-Tag: 1.3.0beta1~433 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=10cf99ecb9a316e9b545a131f94a610d0276c341;p=lhc%2Fweb%2Fwiklou.git fixing
: text-align is a block level element, needs to be in a div --- diff --git a/includes/Parser.php b/includes/Parser.php index dbd93ac183..c8c4219675 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -98,8 +98,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]+;)/' => '&'