aboutsummaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-15 17:47:49 -0700
committerFriendika <info@friendika.com>2011-03-15 17:47:49 -0700
commite2ea341094c53e78ae7473a83d2b6c85b1cde4eb (patch)
tree0c2504eb142719f2e534f31c73051dbc893b36da /addon
parentf01538a54f68c172e09aabed90e2651ca2305675 (diff)
downloadvolse-hubzilla-e2ea341094c53e78ae7473a83d2b6c85b1cde4eb.tar.gz
volse-hubzilla-e2ea341094c53e78ae7473a83d2b6c85b1cde4eb.tar.bz2
volse-hubzilla-e2ea341094c53e78ae7473a83d2b6c85b1cde4eb.zip
facebook parses out punctuation on the left of links but not on right
Diffstat (limited to 'addon')
-rw-r--r--addon/facebook/facebook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index edfc5a374..e1ea6673b 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -225,7 +225,7 @@ function facebook_post_hook(&$a,&$b) {
// make links readable before we strip the code
- $msg = preg_replace("/\[url=(.+?)\](.+?)\[\/url\]/is",'$2 [$1]',$msg);
+ $msg = preg_replace("/\[url=(.+?)\](.+?)\[\/url\]/is",'$2 $1',$msg);
$msg = preg_replace("/\[img\](.+?)\[\/img\]/is", t('Image: ') . '$1',$msg);