aboutsummaryrefslogtreecommitdiffstats
path: root/addon/oembed/oembed.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-05-22 23:03:34 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-05-23 09:13:35 +0200
commit072e4146369ae8ec10af961b7e1b25dc491e8f07 (patch)
treef3aa7bbf571647581f1f7857048faa61e6b53bd4 /addon/oembed/oembed.php
parent866940ab5d4f460c0083aeffdd7e354e8aa0fafe (diff)
downloadvolse-hubzilla-072e4146369ae8ec10af961b7e1b25dc491e8f07.tar.gz
volse-hubzilla-072e4146369ae8ec10af961b7e1b25dc491e8f07.tar.bz2
volse-hubzilla-072e4146369ae8ec10af961b7e1b25dc491e8f07.zip
Fix missing wrapping span on bbcode to html, split embed data fetch and rappresentation in two functions. Prettier video embed.
Diffstat (limited to 'addon/oembed/oembed.php')
-rw-r--r--addon/oembed/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/oembed/oembed.php b/addon/oembed/oembed.php
index 45f533cc5..caf4f5837 100644
--- a/addon/oembed/oembed.php
+++ b/addon/oembed/oembed.php
@@ -47,7 +47,7 @@ function oembed_init(&$a) {
if ($a->argv[1]=='b2h'){
$url = array( "", trim(hex2bin($_GET['url'])));
- echo "<span class='oembed'>".oembed_replacecb($url)."</span>";
+ echo oembed_replacecb($url);
}
if ($a->argv[1]=='h2b'){