Merge pull request #1643 from fabrixxm/issue-1612
close correctly `span` tag in `oembed_format_object()`
This commit is contained in:
commit
941c784fa2
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user