Fix missing wrapping span on bbcode to html, split embed data fetch and rappresentation in two functions. Prettier video embed.

This commit is contained in:
fabrixxm
2011-05-22 23:03:34 +02:00
committed by Fabio Comuni
parent 866940ab5d
commit 072e414636
2 changed files with 88 additions and 51 deletions
+1 -1
View File
@@ -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'){