diff options
author | Friendika <info@friendika.com> | 2011-03-15 17:47:49 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-15 17:47:49 -0700 |
commit | e2ea341094c53e78ae7473a83d2b6c85b1cde4eb (patch) | |
tree | 0c2504eb142719f2e534f31c73051dbc893b36da /addon | |
parent | f01538a54f68c172e09aabed90e2651ca2305675 (diff) | |
download | volse-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.php | 2 |
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); |