facebook parses out punctuation on the left of links but not on right
This commit is contained in:
parent
f01538a54f
commit
e2ea341094
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ function facebook_post_hook(&$a,&$b) {
|
||||||
|
|
||||||
// make links readable before we strip the code
|
// 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);
|
$msg = preg_replace("/\[img\](.+?)\[\/img\]/is", t('Image: ') . '$1',$msg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue