First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
36
modules/filter/tests/filter.url-input.txt
Normal file
36
modules/filter/tests/filter.url-input.txt
Normal file
|
@ -0,0 +1,36 @@
|
|||
This is just a www.test.com. paragraph with person@test.com. some http://www.test.com. urls thrown in and also <code>using www.test.com the code tag</code>.
|
||||
|
||||
<blockquote>
|
||||
This is just a www.test.com. paragraph with person@test.com. some http://www.test.com. urls thrown in and also <code>using www.test.com the code tag</code>.
|
||||
</blockquote>
|
||||
|
||||
<code>Testing code tag http://www.test.com abc</code>
|
||||
|
||||
http://www.test.com
|
||||
www.test.com
|
||||
person@test.com
|
||||
<code>www.test.com</code>
|
||||
|
||||
What about tags that don't exist <x>like x say www.test.com</x>? And what about tag <pooh>beginning www.test.com with p?</pooh>
|
||||
|
||||
Test <br/>: This is just a www.test.com. paragraph <strong>with</strong> some http://www.test.com urls thrown in. *<br/> This is just a www.test.com paragraph *<br/> with some http://www.test.com urls thrown in. *<br/>This is just a www.test.com paragraph person@test.com with some http://www.test.com urls *img*<img/> thrown in. This is just a www.test.com paragraph with some http://www.test.com urls thrown in. This is just a www.test.com paragraph person@test.com with some http://www.test.com urls thrown in.
|
||||
|
||||
This is just a www.test.com paragraph <strong>with</strong> some http://www.test.com urls thrown in. <br /> This is just a www.test.com paragraph with some http://www.test.com urls thrown in. This is just a www.test.com paragraph person@test.com with some http://www.test.com urls thrown in. This is just a www.test.com paragraph with some http://www.test.com urls thrown in. This is just a www.test.com paragraph person@test.com with some http://www.test.com urls thrown in.
|
||||
|
||||
The old URL filter has problems with <a title="kind of link www.example.com with text" href="http://www.example.com">this kind of link</a> with www address as part of text in title. www.test.com
|
||||
|
||||
<!-- This url www.test.com is inside a comment -->
|
||||
|
||||
<dl>
|
||||
<dt>www.test.com</dt>
|
||||
<dd>http://www.test.com</dd>
|
||||
<dd>person@test.com</dd>
|
||||
<dt>check www.test.com</dt>
|
||||
<dd>this with some text around: http://www.test.com not so easy person@test.com now?</dd>
|
||||
</dl>
|
||||
|
||||
<!-- <p>This url http://www.test.com is
|
||||
inside a comment containing newlines and
|
||||
<em>html</em> tags.</p> -->
|
||||
|
||||
This is the end!
|
36
modules/filter/tests/filter.url-output.txt
Normal file
36
modules/filter/tests/filter.url-output.txt
Normal file
|
@ -0,0 +1,36 @@
|
|||
This is just a <a href="http://www.test.com">www.test.com</a>. paragraph with <a href="mailto:person@test.com">person@test.com</a>. some <a href="http://www.test.com">http://www.test.com</a>. urls thrown in and also <code>using www.test.com the code tag</code>.
|
||||
|
||||
<blockquote>
|
||||
This is just a <a href="http://www.test.com">www.test.com</a>. paragraph with <a href="mailto:person@test.com">person@test.com</a>. some <a href="http://www.test.com">http://www.test.com</a>. urls thrown in and also <code>using www.test.com the code tag</code>.
|
||||
</blockquote>
|
||||
|
||||
<code>Testing code tag http://www.test.com abc</code>
|
||||
|
||||
<a href="http://www.test.com">http://www.test.com</a>
|
||||
<a href="http://www.test.com">www.test.com</a>
|
||||
<a href="mailto:person@test.com">person@test.com</a>
|
||||
<code>www.test.com</code>
|
||||
|
||||
What about tags that don't exist <x>like x say <a href="http://www.test.com">www.test.com</a></x>? And what about tag <pooh>beginning <a href="http://www.test.com">www.test.com</a> with p?</pooh>
|
||||
|
||||
Test <br/>: This is just a <a href="http://www.test.com">www.test.com</a>. paragraph <strong>with</strong> some <a href="http://www.test.com">http://www.test.com</a> urls thrown in. *<br/> This is just a <a href="http://www.test.com">www.test.com</a> paragraph *<br/> with some <a href="http://www.test.com">http://www.test.com</a> urls thrown in. *<br/>This is just a <a href="http://www.test.com">www.test.com</a> paragraph <a href="mailto:person@test.com">person@test.com</a> with some <a href="http://www.test.com">http://www.test.com</a> urls *img*<img/> thrown in. This is just a <a href="http://www.test.com">www.test.com</a> paragraph with some <a href="http://www.test.com">http://www.test.com</a> urls thrown in. This is just a <a href="http://www.test.com">www.test.com</a> paragraph <a href="mailto:person@test.com">person@test.com</a> with some <a href="http://www.test.com">http://www.test.com</a> urls thrown in.
|
||||
|
||||
This is just a <a href="http://www.test.com">www.test.com</a> paragraph <strong>with</strong> some <a href="http://www.test.com">http://www.test.com</a> urls thrown in. <br /> This is just a <a href="http://www.test.com">www.test.com</a> paragraph with some <a href="http://www.test.com">http://www.test.com</a> urls thrown in. This is just a <a href="http://www.test.com">www.test.com</a> paragraph <a href="mailto:person@test.com">person@test.com</a> with some <a href="http://www.test.com">http://www.test.com</a> urls thrown in. This is just a <a href="http://www.test.com">www.test.com</a> paragraph with some <a href="http://www.test.com">http://www.test.com</a> urls thrown in. This is just a <a href="http://www.test.com">www.test.com</a> paragraph <a href="mailto:person@test.com">person@test.com</a> with some <a href="http://www.test.com">http://www.test.com</a> urls thrown in.
|
||||
|
||||
The old URL filter has problems with <a title="kind of link www.example.com with text" href="http://www.example.com">this kind of link</a> with www address as part of text in title. <a href="http://www.test.com">www.test.com</a>
|
||||
|
||||
<!-- This url www.test.com is inside a comment -->
|
||||
|
||||
<dl>
|
||||
<dt><a href="http://www.test.com">www.test.com</a></dt>
|
||||
<dd><a href="http://www.test.com">http://www.test.com</a></dd>
|
||||
<dd><a href="mailto:person@test.com">person@test.com</a></dd>
|
||||
<dt>check <a href="http://www.test.com">www.test.com</a></dt>
|
||||
<dd>this with some text around: <a href="http://www.test.com">http://www.test.com</a> not so easy <a href="mailto:person@test.com">person@test.com</a> now?</dd>
|
||||
</dl>
|
||||
|
||||
<!-- <p>This url http://www.test.com is
|
||||
inside a comment containing newlines and
|
||||
<em>html</em> tags.</p> -->
|
||||
|
||||
This is the end!
|
Loading…
Add table
Add a link
Reference in a new issue