]> git.mxchange.org Git - friendica.git/commitdiff
Restore preshare prepending in BBCode::convertShare
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 18 Oct 2018 15:23:48 +0000 (11:23 -0400)
committerGitHub <noreply@github.com>
Thu, 18 Oct 2018 15:23:48 +0000 (11:23 -0400)
Fixes #5955
Follow-up to #5942

src/Content/Text/BBCode.php

index 61e48027e0d9dfdc116d4bb6155d7a9ee32cdd03..8d5da11cdaae4b8477346642bb98dfe106924e25 100644 (file)
@@ -906,7 +906,7 @@ class BBCode extends BaseObject
                                        $attributes['avatar'] = ProxyUtils::proxifyUrl($attributes['avatar'], false, ProxyUtils::SIZE_THUMB);
                                }
 
-                               return $callback($attributes, $author_contact, $match[3], trim($match[1]) != '');
+                               return $match[1] . $callback($attributes, $author_contact, $match[3], trim($match[1]) != '');
                        },
                        $text
                );