r18402 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r18401
|
r18402
|
r18403
>
Date:
15:53, 17 December 2006
Author:
vyznev
Status:
old
Tags:
Comment:
Parser test for
bug 8293
: Use of center tag ruins paragraph formatting.
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.
Modified paths:
/trunk/phase3/maintenance/parserTests.txt
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/parserTests.txt
—
—
@@ -6108,6 +6108,28 @@
6109
6109
!! end
6110
6110
6111
6111
6112
+!! test
6113
+Bug 8293: Use of center tag ruins paragraph formatting
6114
+!! input
6115
+<center>
6116
+foo
6117
+</center>
6118
+
6119
+bar
6120
+
6121
+ baz
6122
+!! result
6123
+<center>
6124
+<p>foo
6125
+</p>
6126
+</center>
6127
+<p>bar
6128
+</p>
6129
+<pre>baz
6130
+</pre>
6131
+!! end
6132
+
6133
+
6112
6134
#
6113
6135
#
6114
6136
#
Follow-up revisions
Revision
Commit summary
Author
Date
r18403
Change the regexen in doBlockLevels() to handle <center> tags the same as...
vyznev
16:51, 17 December 2006