dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3ce9ff2
)
Merge "Make sure Parsoid doesn't get snobbish and treat non-html5 tags badly."
author
GWicke
<gwicke@wikimedia.org>
Mon, 11 Mar 2013 16:56:07 +0000
(16:56 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 11 Mar 2013 16:56:07 +0000
(16:56 +0000)
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
cb1cb84
..
e9218de
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-512,6
+512,27
@@
The ''[[Main Page]]'''s talk page.
</p>
!! end
+###
+### Non-html5 tags
+###
+
+!! test
+Non-html5 tags should be accepted
+!! input
+<center>''foo''</center>
+<big>''foo''</big>
+<font>''foo''</font>
+<strike>''foo''</strike>
+<tt>''foo''</tt>
+!! result
+<center><i>foo</i></center>
+<p><big><i>foo</i></big>
+<font><i>foo</i></font>
+<strike><i>foo</i></strike>
+<tt><i>foo</i></tt>
+</p>
+!! end
+
###
### <nowiki> test cases
###