Subramanya Sastry has submitted this change and it was merged.
Change subject: This whitelist entry is no longer needed; Parsoid matches PHP
output now.
......................................................................
This whitelist entry is no longer needed; Parsoid matches PHP output now.
Change-Id: Ic3c9045895f20dbd52eb6a587e2309f2c0a6357e
---
M js/tests/parserTests-whitelist.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Subramanya Sastry: Verified; Looks good to me, approved
diff --git a/js/tests/parserTests-whitelist.js
b/js/tests/parserTests-whitelist.js
index cdb32e0..7048cb8 100644
--- a/js/tests/parserTests-whitelist.js
+++ b/js/tests/parserTests-whitelist.js
@@ -57,7 +57,7 @@
// We preserve the trailing whitespace in a table cell, while the PHP parser
// strips it. It renders the same, and round-trips with the space.
-testWhiteList["Table rowspan"] = "<table border=\"1\"
data-parsoid=\"{"tsr":[0,11],"bsp":[0,121]}\">\n<tbody><tr><td
data-parsoid=\"{"tsr":[12,13]}\"> Cell 1, row 1 \n</td><td
rowspan=\"2\" data-parsoid=\"{"tsr":[29,40]}\"> Cell 2, row 1 (and 2)
\n</td><td data-parsoid=\"{"tsr":[64,65]}\"> Cell 3, row 1
\n</td></tr><tr data-parsoid=\"{"tsr":[81,84]}\">\n<td
data-parsoid=\"{"tsr":[85,86]}\"> Cell 1, row 2 \n</td><td
data-parsoid=\"{"tsr":[102,103]}\"> Cell 3, row 2
\n</td></tr></tbody></table>";
+//testWhiteList["Table rowspan"] = "<table border=\"1\"
data-parsoid=\"{"tsr":[0,11],"bsp":[0,121]}\">\n<tbody><tr><td
data-parsoid=\"{"tsr":[12,13]}\"> Cell 1, row 1 \n</td><td
rowspan=\"2\" data-parsoid=\"{"tsr":[29,40]}\"> Cell 2, row 1 (and 2)
\n</td><td data-parsoid=\"{"tsr":[64,65]}\"> Cell 3, row 1
\n</td></tr><tr data-parsoid=\"{"tsr":[81,84]}\">\n<td
data-parsoid=\"{"tsr":[85,86]}\"> Cell 1, row 2 \n</td><td
data-parsoid=\"{"tsr":[102,103]}\"> Cell 3, row 2
\n</td></tr></tbody></table>";
// The PHP parser strips the hash fragment for non-existent pages, but Parsoid
does not.
// TODO: implement link target detection in a DOM postprocessor or on the
client
--
To view, visit https://gerrit.wikimedia.org/r/57688
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic3c9045895f20dbd52eb6a587e2309f2c0a6357e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits