From 34f603fe70a28184a0edb3c18cb2b210f1181e16 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Thu, 15 Apr 2004 16:06:25 +0000 Subject: [PATCH] div again, we don't really know what will be inside the center tags. Could be another div for example, or a table. --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]+;)/' => '&' -- 2.20.1