dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
305522e
)
Parser test for bug 8293: Use of center tag ruins paragraph formatting.
author
Ilmari Karonen
<vyznev@users.mediawiki.org>
Sun, 17 Dec 2006 15:53:50 +0000
(15:53 +0000)
committer
Ilmari 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
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.txt
b/maintenance/parserTests.txt
index
9f00687
..
a9c9db2
100644
(file)
--- a/
maintenance/parserTests.txt
+++ b/
maintenance/parserTests.txt
@@
-6108,6
+6108,28
@@
Pages in namespace (Magic word disabled currently)
!! end
!! 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
+
+
#
#
#
#
#
#