diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-22 14:09:54 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-22 14:09:54 +0200 |
commit | 70229cbbfc2d6e1a8c013aebd00ad9a593fcc350 (patch) | |
tree | 4061ef116ab2d7e7476de97e603534e100d255e9 /tests | |
parent | 1041aa46da9fe177d33aae1f1bf4fc1a1eb79529 (diff) |
Fix incorrect handling of some specific links (#1489060)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Framework/StringReplacer.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Framework/StringReplacer.php b/tests/Framework/StringReplacer.php index 95c59221b..dc7638734 100644 --- a/tests/Framework/StringReplacer.php +++ b/tests/Framework/StringReplacer.php @@ -37,6 +37,8 @@ class Framework_StringReplacer extends PHPUnit_Framework_TestCase array('http://link.com?(link)', '<a href="http://link.com?(link)">http://link.com?(link)</a>'), array('http://<test>', 'http://<test>'), array('http://', 'http://'), + array('1@1.com www.domain.tld', '<a href="mailto:1@1.com">1@1.com</a> <a href="http://www.domain.tld">www.domain.tld</a>'), + array(' www.domain.tld ', ' <a href="http://www.domain.tld">www.domain.tld</a> '), ); } |