From 59ec6718799b8b5d2aee2a394bd3f45792e23754 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 17 Jul 2012 22:11:24 -0700 Subject: json notification popup mostly working in zero --- include/bbcode.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/bbcode.php') diff --git a/include/bbcode.php b/include/bbcode.php index 63dd9695e..96f0f93c5 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -387,6 +387,8 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { // 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)=\"[^hfm](.*?)\>/ism",'<$1$2="">',$Text); + if($saved_image) $Text = bb_replace_images($Text, $saved_image); -- cgit v1.2.3