Merge pull request #1643 from fabrixxm/issue-1612

close correctly `span` tag in `oembed_format_object()`
This commit is contained in:
Tobias Diekershoff 2015-06-02 19:38:42 +02:00
commit 941c784fa2

View File

@ -193,8 +193,9 @@ function oembed_format_object($j){
} else { } else {
// add <a> for html2bbcode conversion // add <a> for html2bbcode conversion
$ret .= "<a href='$embedurl' rel='oembed'>$embedurl</a>"; $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)); return mb_convert_encoding($ret, 'HTML-ENTITIES', mb_detect_encoding($ret));
} }