Current File : /home/jvzmxxx/wiki/tests/parser/extraParserTests.txt
# This is another parserTest file.
# Parser tests should go to parserTests.txt
# This one got exiliated here because its broken character
# a) Already lost this test for years when removed on r12975
# b) Some text editors choke in the whole file due to the  character

!! test
External links: invalid character NUL
!! options
preprocessor=Preprocessor_Hash
!! input
[http://www.example.com test]
!! result
<p>[<a rel="nofollow" class="external free" href="http://www.example.com">http://www.example.com</a> test]
</p>
!! end

!! test
External links: invalid character backspace
!! options
preprocessor=Preprocessor_Hash
!! input
[http://www.example.com test]
!! result
<p>[<a rel="nofollow" class="external free" href="http://www.example.com">http://www.example.com</a> test]
</p>
!! end


!! test
Magic link: invalid character
!! options
preprocessor=Preprocessor_Hash
!! input
http://www.example.com
!! result
<p><a rel="nofollow" class="external free" href="http://www.example.com">http://www.example.com</a>
</p>
!! end

!! test
External links: tab character
!! input
[http://www.example.com Alice in	Wonderland]
!! result
<p><a rel="nofollow" class="external text" href="http://www.example.com">Alice in	Wonderland</a>
</p>
!! end