From c00f73c836d765ffd80fe0441c9ac08cd0803f17 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 3 Jun 2015 10:17:54 +0200 Subject: [PATCH] uncomment replacement --- include/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bbcode.php b/include/bbcode.php index 6c7f39a9ff..403e46b6c7 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1200,7 +1200,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal // fix any escaped ampersands that may have been converted into links $Text = preg_replace("/\<([^>]*?)(src|href)=(.*?)\&\;(.*?)\>/ism",'<$1$2=$3&$4>',$Text); -// $Text = preg_replace("/\<([^>]*?)(src|href)=\"(?!http|ftp|mailto|cid)(.*?)\>/ism",'<$1$2="">',$Text); + $Text = preg_replace("/\<([^>]*?)(src|href)=\"(?!http|ftp|mailto|cid)(.*?)\>/ism",'<$1$2="">',$Text); if($saved_image) $Text = bb_replace_images($Text, $saved_image); -- 2.39.5