Browse Source

close correctly `span` tag in `oembed_format_object()`

fix issue #1612
pull/1643/head
fabrixxm 5 years ago
parent
commit
e028263ca8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      include/oembed.php

+ 2
- 1
include/oembed.php 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));
}


Loading…
Cancel
Save