filter.url-output.txt

Same filename in other branches
  1. 9 core/modules/filter/tests/filter.url-output.txt
  2. 8.9.x core/modules/filter/tests/filter.url-output.txt
  3. 10 core/modules/filter/tests/filter.url-output.txt
  4. 11.x core/modules/filter/tests/filter.url-output.txt
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>
person@test
<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 &lt;br/&gt;: 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>
<dd>person@test</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!

File

modules/filter/tests/filter.url-output.txt

View source
  1. This is just a www.test.com. paragraph with person@test.com. some http://www.test.com. urls thrown in and also using www.test.com the code tag.
  2. This is just a www.test.com. paragraph with person@test.com. some http://www.test.com. urls thrown in and also using www.test.com the code tag.
  3. Testing code tag http://www.test.com abc
  4. http://www.test.com
  5. www.test.com
  6. person@test.com
  7. person@test
  8. www.test.com
  9. What about tags that don't exist like x say www.test.com? And what about tag beginning www.test.com with p?
  10. Test <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 *
    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 *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.
  11. 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 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.
  12. The old URL filter has problems with this kind of link with www address as part of text in title. www.test.com
  13. www.test.com
  14. http://www.test.com
  15. person@test.com
  16. person@test
  17. check www.test.com
  18. this with some text around: http://www.test.com not so easy person@test.com now?
  19. This url http://www.test.com is
  20. inside a comment containing newlines and
  21. html tags.

    -->
  22. This is the end!

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.