aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-17 22:11:24 -0700
committerfriendica <info@friendica.com>2012-07-17 22:11:24 -0700
commit59ec6718799b8b5d2aee2a394bd3f45792e23754 (patch)
treef4e01db6f73754418438b020c2327e18c256653c /include/bbcode.php
parenta10e9d335ab68989a0e6e40af8ae03e5dabd27a7 (diff)
downloadvolse-hubzilla-59ec6718799b8b5d2aee2a394bd3f45792e23754.tar.gz
volse-hubzilla-59ec6718799b8b5d2aee2a394bd3f45792e23754.tar.bz2
volse-hubzilla-59ec6718799b8b5d2aee2a394bd3f45792e23754.zip
json notification popup mostly working in zero
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 2 insertions, 0 deletions
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)=(.*?)\&amp\;(.*?)\>/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);