diff --git a/tests/functions/make_clickable_test.php b/tests/functions/make_clickable_test.php
index 2cdefe689d..2bb7721d21 100644
--- a/tests/functions/make_clickable_test.php
+++ b/tests/functions/make_clickable_test.php
@@ -59,6 +59,10 @@ class phpbb_functions_make_clickable_test extends phpbb_test_case
'javascript://testhost/viewtopic.php?t=1',
'javascript://testhost/viewtopic.php?t=1'
),
+ array(
+ "java\nscri\npt://testhost/viewtopic.php?t=1",
+ "java\nscri\npt://testhost/viewtopic.php?t=1"
+ ),
array(
'email@domain.com',
'email@domain.com'