summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArlo Breault <abreault@wikimedia.org>2022-01-07 15:58:20 -0500
committerArlo Breault <abreault@wikimedia.org>2022-01-07 15:58:30 -0500
commit5254ddea2dc8aad890fdd65685b7da87307e61b5 (patch)
tree0e395fd6211dcb498e40d650bb200a08041aac62
parent9e942031f3e0f6a9ae20b8aeef8db5fd23a4386f (diff)
Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit d9cbfe3ae95ead0111e935f214408ccb49aa12a6 Change-Id: Id5dd98d2bd54187a060ae7523de634747e5d7594
-rw-r--r--tests/parser/parserTests.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index cef0847a2cbe..981417ff754b 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -13709,6 +13709,23 @@ c
</p>
!! end
+!! test
+Content after <tr> like wikitext should get fully processed
+!! wikitext
+x
+|- [[Foo]] and {{1x|bar}}
+y
+!! html/php
+<p>x
+|- <a href="/wiki/Foo" title="Foo">Foo</a> and bar
+y
+</p>
+!! html/parsoid
+<p>x
+|- <a rel="mw:WikiLink" href="./Foo" title="Foo" data-parsoid='{"stx":"simple","a":{"href":"./Foo"},"sa":{"href":"Foo"}}'>Foo</a> and <span about="#mwt3" typeof="mw:Transclusion" data-parsoid='{"pi":[[{"k":"1"}]]}' data-mw='{"parts":[{"template":{"target":{"wt":"1x","href":"./Template:1x"},"params":{"1":{"wt":"bar"}},"i":0}}]}'>bar</span>
+y</p>
+!! end
+
###
### Testing parsing of templates where a template arg
### has the same name as the template itself.