X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Foembed.php;h=0e1238360310b87efc675e453bd0805b8868d944;hb=be40fb8186bc18e3562d780a7153f76ee7d5e90f;hp=cbd856648f9366a8463fa8a7fbec17659078e84f;hpb=2e09ce6847b7474f1182ccfabfd40dfe1324837a;p=friendica.git diff --git a/include/oembed.php b/include/oembed.php index cbd856648f..0e12383603 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -67,9 +67,6 @@ function oembed_fetch_url($embedurl, $no_rich_type = false){ $txt=trim($txt); - if ($txt==false || $txt=="") - return false; - if ($txt[0]!="{") $txt='{"type":"error"}'; else //save in cache @@ -160,7 +157,7 @@ function oembed_format_object($j){ case "rich": { // not so safe.. if (!get_config("system","no_oembed_rich_content")) - $ret.= $jhtml; + $ret.= proxy_parse_html($jhtml); }; break; }