diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-01-08 12:13:44 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-01-08 12:13:44 +0100 |
commit | 16915ee2ad97060e0c0c9376adf7eca77516cd86 (patch) | |
tree | ab8bea1c9f447d16eb770f3275cc053d859490e5 /tests/Framework/StringReplacer.php | |
parent | 987b7aea59cb6434c7e4546796d070a6edc89f78 (diff) |
Don't convert to link a text with < and > characters
Diffstat (limited to 'tests/Framework/StringReplacer.php')
-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 60399cf6b..e630ebac0 100644 --- a/tests/Framework/StringReplacer.php +++ b/tests/Framework/StringReplacer.php @@ -35,6 +35,8 @@ class Framework_StringReplacer extends PHPUnit_Framework_TestCase array('(http://link.com)', '(<a href="http://link.com" target="_blank">http://link.com</a>)'), array('http://link.com?a(b)c', '<a href="http://link.com?a(b)c" target="_blank">http://link.com?a(b)c</a>'), array('http://link.com?(link)', '<a href="http://link.com?(link)" target="_blank">http://link.com?(link)</a>'), + array('http://<test>', 'http://<test>'), + array('http://', 'http://'), ); } |