From 10cf99ecb9a316e9b545a131f94a610d0276c341 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 15 Apr 2004 11:26:29 +0000 Subject: [PATCH] fixing
: text-align is a block level element, needs to be in a div --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]+;)/' => '&' -- 2.20.1