]> git.mxchange.org Git - friendica.git/commitdiff
uncomment replacement
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 3 Jun 2015 08:17:54 +0000 (10:17 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 3 Jun 2015 08:17:54 +0000 (10:17 +0200)
include/bbcode.php

index 6c7f39a9ffd6c0ca7ee9808fd3b938d91ac294b5..403e46b6c76854e79a694b67490a90e7e7ab1d49 100644 (file)
@@ -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)=(.*?)\&amp\;(.*?)\>/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);