close correctly span tag in oembed_format_object()

fix issue #1612
This commit is contained in:
fabrixxm 2015-06-02 18:38:16 +02:00
parent 620455c4de
commit e028263ca8

View file

@ -193,8 +193,9 @@ function oembed_format_object($j){
} else {
// add <a> for html2bbcode conversion
$ret .= "<a href='$embedurl' rel='oembed'>$embedurl</a>";
$ret.="<br style='clear:left'></span>";
$ret .= "<br style='clear:left'>";
}
$ret.="</span>";
return mb_convert_encoding($ret, 'HTML-ENTITIES', mb_detect_encoding($ret));
}