diff --git a/include/oembed.php b/include/oembed.php index 6fc9817299..26746af51c 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -193,8 +193,9 @@ function oembed_format_object($j){ } else { // add for html2bbcode conversion $ret .= "$embedurl"; - $ret.="
"; + $ret .= "
"; } + $ret.=""; return mb_convert_encoding($ret, 'HTML-ENTITIES', mb_detect_encoding($ret)); }