X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_profile.php;h=2492a48ee496d6714ce2513c5a68102fb21f76a4;hb=677f46c076ced8377a2ddf0df0a704b6ab389ed6;hp=40ee33325bc262c90246071927fbf9ea0ee425aa;hpb=a6603a54d9c68d1efee553e747de233f992dc3d2;p=friendica.git diff --git a/mod/update_profile.php b/mod/update_profile.php index 40ee33325b..2492a48ee4 100644 --- a/mod/update_profile.php +++ b/mod/update_profile.php @@ -20,7 +20,7 @@ function update_profile_content(&$a) { * We can remove this hack once Internet Explorer recognises HTML5 natively */ - echo (($_GET['msie'] == 1) ? '
' : '
'); + echo "
"; /** * @@ -45,13 +45,15 @@ function update_profile_content(&$a) { $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); /** * reportedly some versions of MSIE don't handle tabs in XMLHttpRequest documents very well */ echo str_replace("\t",' ',$text); - echo (($_GET['msie'] == 1) ? '
' : ''); + echo ""; echo "\r\n"; killme();