aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 20:10:46 -0700
committerFriendika <info@friendika.com>2011-10-24 20:10:46 -0700
commit1a7badb40518538c79ecff6186eb3d996734760e (patch)
treeb0f2ca367e78d3835cfecd4f7b0c641c789477d7 /include/bbcode.php
parent790c4a4e1a583b9e8ad909f8d562a62c8d700ad5 (diff)
downloadvolse-hubzilla-1a7badb40518538c79ecff6186eb3d996734760e.tar.gz
volse-hubzilla-1a7badb40518538c79ecff6186eb3d996734760e.tar.bz2
volse-hubzilla-1a7badb40518538c79ecff6186eb3d996734760e.zip
use iframe for oembed - untrusted content
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);
}