aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index a8c66d30f..e20b2478d 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -19,8 +19,7 @@ function tryoembed($match){
if ($o->type=="error") return $match[0];
$html = oembed_format_object($o);
-
- return $html;
+ return oembed_iframe($html,$o->width,$o->height);
}