http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70167
Revision: 70167
Author: simetrical
Date: 2010-07-29 19:09:52 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
Two new parser tests related to bug 6200
A patch posted there caused two parser tests for <center> to fail, but
none for <blockquote>, despite making a similar change to both elements.
I've added similar tests for <blockquote> so that they'll fail if a
similar patch is attempted that changes only <blockquote> behavior and
not <center> too.
Modified Paths:
--------------
trunk/phase3/maintenance/parserTests.txt
Modified: trunk/phase3/maintenance/parserTests.txt
===================================================================
--- trunk/phase3/maintenance/parserTests.txt 2010-07-29 19:03:52 UTC (rev
70166)
+++ trunk/phase3/maintenance/parserTests.txt 2010-07-29 19:09:52 UTC (rev
70167)
@@ -370,7 +370,22 @@
!! end
+# Expected output in the following test is not really expected (there should be
+# <pre> in the output) -- it's only testing for well-formedness.
!! test
+Bug 6200: Preformatted in <blockquote>
+!! input
+<blockquote>
+ Blah
+</blockquote>
+!! result
+<blockquote>
+ Blah
+</blockquote>
+
+!! end
+
+!! test
<pre> with attributes (bug 3202)
!! input
<pre style="background: blue; color:white">Bluescreen of WikiDeath</pre>
@@ -7044,7 +7059,30 @@
</p>
!! end
+# Expected output in the following test is not necessarily expected (there
+# should probably be <p> tags inside the <blockquote> in the output) -- it's
+# only testing for well-formedness.
!! test
+Bug 6200: blockquotes and paragraph formatting
+!! input
+<blockquote>
+foo
+</blockquote>
+
+bar
+
+ baz
+!! result
+<blockquote>
+foo
+</blockquote>
+<p>bar
+</p>
+<pre>baz
+</pre>
+!! end
+
+!! test
Bug 8293: Use of center tag ruins paragraph formatting
!! input
<center>
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs