X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fupdate_network.php;h=36de0722a9dcace04bb1e527a3ab977792da348b;hb=46b220518c0a95d394398998711088ac1268c343;hp=cf9f11f586f734d4967a12fbd2c094ac5e39549c;hpb=979307ef916c79bb805875f9d7cf34103e11f675;p=friendica.git
diff --git a/mod/update_network.php b/mod/update_network.php
index cf9f11f586..36de0722a9 100644
--- a/mod/update_network.php
+++ b/mod/update_network.php
@@ -19,6 +19,17 @@ function update_network_content(&$a) {
$replace = "
' . t('[Embedded content - reload page to view]') . '
';
+ $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
+ $text = preg_replace($pattern, $replace, $text);
+ $pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i";
+ $text = preg_replace($pattern, $replace, $text);
+ $pattern = "/<\s*embed[^>]*>(.*?)<\s*\/\s*embed>/i";
+ $text = preg_replace($pattern, $replace, $text);
+ $pattern = "/<\s*iframe[^>]*>(.*?)<\s*\/\s*iframe>/i";
+ $text = preg_replace($pattern, $replace, $text);
+
+
echo str_replace("\t",' ',$text);
echo (($_GET['msie'] == 1) ? '' : '');
echo "