]> git.mxchange.org Git - friendica.git/blobdiff - include/bbcode.php
fixed missing close parenthesis
[friendica.git] / include / bbcode.php
index c17e5dded3037490d56c2791f900c7f33abb7ca8..eb0806dc527fee8b6b36a89d6d6239e807ca665e 100644 (file)
@@ -94,7 +94,7 @@ function bbcode($Text) {
        $Text = preg_replace("/\[youtube\](.+?)\[\/youtube\]/", '<object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/$1" ><param name="movie" value="http://www.youtube.com/v/$1"></param><!--[if IE]><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="425" height="350" /><![endif]--></object>', $Text);
 
        // oembed tag
-       $Text = oembed_bbcode($Text);
+       $Text = oembed_bbcode2html($Text);
 
        call_hooks('bbcode',$Text);