From c5aa99f7db14b1962197976c8f8dc1e10f2b7d5e Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 12 Mar 2014 10:47:06 +0000 Subject: [PATCH] Fix - causing urls to break in email confirmation text --- CRM/Core/Smarty/plugins/modifier.htmlize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Smarty/plugins/modifier.htmlize.php b/CRM/Core/Smarty/plugins/modifier.htmlize.php index f39be90714..b212de280e 100644 --- a/CRM/Core/Smarty/plugins/modifier.htmlize.php +++ b/CRM/Core/Smarty/plugins/modifier.htmlize.php @@ -41,7 +41,7 @@ * @return string HTML-ized version of $text */ function smarty_modifier_htmlize($text) { - $text = preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', '$1', $text); + $text = preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?)@', '$1', $text); $text = nl2br($text); return $text; } -- 2.25.1