From e028263ca8e1585ead2ba5ac87168fda607af0a9 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 2 Jun 2015 18:38:16 +0200 Subject: [PATCH] close correctly `span` tag in `oembed_format_object()` fix issue #1612 --- include/oembed.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/oembed.php b/include/oembed.php index 6fc981729..26746af51 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)); }