Parser test for bug 8293: Use of center tag ruins paragraph formatting.
authorIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 17 Dec 2006 15:53:50 +0000 (15:53 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 17 Dec 2006 15:53:50 +0000 (15:53 +0000)
No idea what's causing this, looks like the parser just gives up when it
sees </center> on a line of its own and spits the rest out verbatim.

maintenance/parserTests.txt

index 9f00687..a9c9db2 100644 (file)
@@ -6108,6 +6108,28 @@ Pages in namespace (Magic word disabled currently)
 !! end
 
 
+!! test
+Bug 8293: Use of center tag ruins paragraph formatting
+!! input
+<center>
+foo
+</center>
+
+bar
+
+ baz
+!! result
+<center>
+<p>foo
+</p>
+</center>
+<p>bar
+</p>
+<pre>baz
+</pre>
+!! end
+
+
 #
 #
 #