mediawiki-extensions-Secure.../tests/parser/parserTests.txt
C. Scott Ananian 582afdc696 Update to parserTests v2 (tidy by default)
Bug: T174199
Change-Id: If22589e88f1c188e1823e4e51b810a13bc3ea13e
2020-04-02 14:07:01 -04:00

19 lines
850 B
Plaintext

!! Version 2
!! test
Different domains
!! wikitext
Normal: http://test.localhost/
Preloaded: http://en.wikipedia.org/wiki/Main_Page
Protorel: [//en.wikipedia.org/wiki/Main_Page Main Page]
TLD: http://foo.dev/foo/
Ignored protocol: ftp://en.wikipedia.org/
!! html
<p>Normal: <a rel="nofollow" class="external free" href="http://test.localhost/">http://test.localhost/</a>
Preloaded: <a rel="nofollow" class="external free" href="https://en.wikipedia.org/wiki/Main_Page">http://en.wikipedia.org/wiki/Main_Page</a>
Protorel: <a rel="nofollow" class="external text" href="https://en.wikipedia.org/wiki/Main_Page">Main Page</a>
TLD: <a rel="nofollow" class="external free" href="https://foo.dev/foo/">http://foo.dev/foo/</a>
Ignored protocol: <a rel="nofollow" class="external free" href="ftp://en.wikipedia.org/">ftp://en.wikipedia.org/</a>
</p>
!! end