# This file should only contain tests using special characters # that trip up some text editors. # a) Already lost this test for years when removed on r12975 # b) Some text editors choke on the file due to the character # # The parsoid-compatible option below is only relevant when we are running # parser tests in integrated mode with Parsoid. This option is ignored # when this test file is run with Parsoid in standalone mode. !! options parsoid-compatible=wt2html,wt2wt version=2 !! end !! test External links: invalid character NUL (stripped) !! wikitext [http://www.example.com test] !! html

test

!! end !! test External links: invalid character backspace (preserved) !! options preprocessor=Preprocessor_Hash !! wikitext [http://www.example.com test] !! html

[http://www.example.com test]

!! end !! test Magic link: invalid character NUL (stripped) !! wikitext http://www.example.com test !! html

http://www.example.com test

!! end !! test Magic link: invalid character backspace (preserved) !! options preprocessor=Preprocessor_Hash !! wikitext http://www.example.com test !! html

http://www.example.com test

!! end !! test External links: tab character !! wikitext [http://www.example.com Alice in Wonderland] !! html

Alice in Wonderland

!! end ## Note that there's a leading \r here that's necessary for the test !! test Stray carriage return in text !! options parsoid=wt2html !! wikitext hiho !! html/php

hiho

!! html/parsoid

hiho

!! end