aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-24 14:30:11 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-24 14:30:11 +0200
commita9fb8e4d6052dbb5db95939128d491897b4f6a0c (patch)
treee92a58aaffd94270203555b27e7c1587856568d1 /mod/item.php
parent306036c62613fd849a80c83c50cd220f75e64c90 (diff)
downloadvolse-hubzilla-a9fb8e4d6052dbb5db95939128d491897b4f6a0c.tar.gz
volse-hubzilla-a9fb8e4d6052dbb5db95939128d491897b4f6a0c.tar.bz2
volse-hubzilla-a9fb8e4d6052dbb5db95939128d491897b4f6a0c.zip
Use oembed for bookmark, audio, video, youtube
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php1
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);
}