diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-24 14:30:11 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-24 14:30:11 +0200 |
commit | a9fb8e4d6052dbb5db95939128d491897b4f6a0c (patch) | |
tree | e92a58aaffd94270203555b27e7c1587856568d1 /mod | |
parent | 306036c62613fd849a80c83c50cd220f75e64c90 (diff) | |
download | volse-hubzilla-a9fb8e4d6052dbb5db95939128d491897b4f6a0c.tar.gz volse-hubzilla-a9fb8e4d6052dbb5db95939128d491897b4f6a0c.tar.bz2 volse-hubzilla-a9fb8e4d6052dbb5db95939128d491897b4f6a0c.zip |
Use oembed for bookmark, audio, video, youtube
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index ab104735b..0e855d54d 100644 --- a/mod/item.php +++ b/mod/item.php @@ -338,7 +338,6 @@ function item_post(&$a) { $bookmark = 0; if(preg_match_all("/\[bookmark\=([^\]]*)\](.*?)\[\/bookmark\]/ism",$body,$match)) { $bookmark = 1; - $body = preg_replace("/\[bookmark\=([^\]]*)\](.*?)\[\/bookmark\]/ism",'[url=$1]$2[/url]',$body); } |