aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 15:49:28 -0700
committerFriendika <info@friendika.com>2011-10-24 15:49:28 -0700
commitea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890 (patch)
treec6619ec376c662c381caf03fbc1e72db887bfa8d /mod
parentf48fd5aa1651cdc801473e9d24c1736304533e63 (diff)
parent2905df527f2fbc9b426ebc89a53adc5c6cf1ee47 (diff)
downloadvolse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.tar.gz
volse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.tar.bz2
volse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.zip
Merge pull request #35 from fabrixxm/master
Use oembed if possible without the addon Awesome!
Diffstat (limited to 'mod')
-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);
}