diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-01-31 16:45:58 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-01-31 16:45:58 +0100 |
commit | 49ea05b8ff27c31924ddf94c582ab4260faf56c2 (patch) | |
tree | 36aa6facfe6687743a5f38ae9ff97adc6f649390 /include/bbcode.php | |
parent | 6ea87223d3ba5d9ecc1fa57453207e1645819fe5 (diff) | |
download | volse-hubzilla-49ea05b8ff27c31924ddf94c582ab4260faf56c2.tar.gz volse-hubzilla-49ea05b8ff27c31924ddf94c582ab4260faf56c2.tar.bz2 volse-hubzilla-49ea05b8ff27c31924ddf94c582ab4260faf56c2.zip |
use microformat to mark html from [embed] tag, convert html with oembed microformat to [embed] tag
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index c17e5dded..eb0806dc5 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -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); |