| 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 |
"html2wt": "[http://www.example.com test]\n" |
| 5 |
}, |
| 6 |
"External links: invalid character backspace (preserved)": { |
| 7 |
"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>", |
| 8 |
"html2wt": "[http://www.example.com<nowiki>\b test]</nowiki>\n" |
| 9 |
}, |
| 10 |
"Magic link: invalid character NUL (stripped)": { |
| 11 |
"wt2wt": "http://www.example.com test", |
| 12 |
"html2wt": "http://www.example.com test\n", |
| 13 |
"selser [2]": "gz69yc\n\nhttp://www.example.com\u0000 test" |
| 14 |
} |
| 15 |
} |