From 089d7348398e7aeaea2a423652dbc07b1529a35f Mon Sep 17 00:00:00 2001 From: e107steved Date: Mon, 17 Mar 2008 21:02:09 +0000 Subject: [PATCH] Bugtracker #3835 - the other half of the fix! --- e107_handlers/e_parse_class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 5cb15eca2..cd656868b 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $ -| $Revision: 1.30 $ -| $Date: 2008-03-15 12:33:21 $ +| $Revision: 1.31 $ +| $Date: 2008-03-17 21:01:44 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -588,7 +588,7 @@ class e_parse if ($pref['link_replace'] && !$opts['no_replace']) { $_ext = ($pref['links_new_window'] ? " rel=\"external\"" : ""); - $text = preg_replace("#(^|[\n ])([\w]+?://[^ \"\n\r\t<]*)#is", "\\1".$pref['link_text']."", $text); + $text = preg_replace("#(^|[\n ])([\w]+?://[^ \"\n\r\t<,]*)#is", "\\1".$pref['link_text']."", $text); $text = preg_replace("#(^|[\n \]])((www|ftp)\.[\w+-]+?\.[\w+\-.]*(?(?=/)(/.+?(?=\s|,\s))|(?=\W)))#is", "\\1".$pref['link_text']."", $text); if(CHARSET != "utf-8" && CHARSET != "UTF-8") {