%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/wiki.varak.net/tests/parser/
Upload File :
Create Path :
Current File : /www/varak.net/wiki.varak.net/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 (stripped)
!! input
[http://www.example.com test]
!! result
<p><a rel="nofollow" class="external text" href="http://www.example.com">test</a>
</p>
!! end

!! test
External links: invalid character backspace (preserved)
!! 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 (replaced)
!! options
preprocessor=Preprocessor_DOM
!! 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 NUL (stripped)
!! 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 backspace (preserved)
!! 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 backspace (replaced)
!! options
preprocessor=Preprocessor_DOM
!! 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: 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

Zerion Mini Shell 1.0