summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-11-10 14:02:42 +0100
committerAndrey Andreev <narf@devilix.net>2017-11-10 14:02:42 +0100
commit8c9e51044d991868228dba8b9d5141998347dbfe (patch)
tree997b16c37e885d576734b96c7cf49c3aa4878c19 /tests
parente176de516a86baef1f48f3bf9e63818985f6a034 (diff)
Fix #5331
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/helpers/url_helper_test.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/codeigniter/helpers/url_helper_test.php b/tests/codeigniter/helpers/url_helper_test.php
index 5fbc364bf..83a8c0ec2 100644
--- a/tests/codeigniter/helpers/url_helper_test.php
+++ b/tests/codeigniter/helpers/url_helper_test.php
@@ -77,4 +77,13 @@ class Url_helper_test extends CI_TestCase {
}
}
+ // --------------------------------------------------------------------
+
+ public function test_issue_5331()
+ {
+ $this->assertEquals(
+ 'this is some text that includes '.safe_mailto('www.email@domain.com').' which is causing an issue',
+ auto_link('this is some text that includes www.email@domain.com which is causing an issue')
+ );
+ }
}