Debian Codegraph @

vendor/wikimedia/parsoid/tests/parser/badCharacters-knownFailures.json

raw
1 {
2 "External links: invalid character NUL (stripped)": {
3 "wt2html": "<p data-parsoid='{\"dsr\":[0,30,0,0]}'><a rel=\"mw:ExtLink nofollow\" href=\"http://www.example.com%00\" class=\"external text\" data-parsoid='{\"a\":{\"href\":\"http://www.example.com%00\"},\"sa\":{\"href\":\"http://www.example.com\\u0000\"},\"dsr\":[0,30,25,1]}'>test</a></p>"
4 },
5 "External links: invalid character backspace (preserved)": {
6 "wt2html": "<p data-parsoid='{\"dsr\":[0,30,0,0]}'><a rel=\"mw:ExtLink nofollow\" href=\"http://www.example.com%08\" class=\"external text\" data-parsoid='{\"a\":{\"href\":\"http://www.example.com%08\"},\"sa\":{\"href\":\"http://www.example.com\\b\"},\"dsr\":[0,30,25,1]}'>test</a></p>"
7 },
8 "Magic link: invalid character NUL (stripped)": {
9 "wt2wt": "http://www.example.com test"
10 }
11 }