]> git.mxchange.org Git - friendica.git/commitdiff
Use trim
authorMichael <heluecht@pirati.ca>
Fri, 7 Oct 2022 08:14:04 +0000 (08:14 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 7 Oct 2022 08:14:04 +0000 (08:14 +0000)
src/Content/Text/BBCode.php

index 93d1be2c445b4c4a2430de484b42afec0fc12bf2..2a3bced6afb2dbda0442c7f0787a164f94f1e97b 100644 (file)
@@ -1029,7 +1029,7 @@ class BBCode
                                'link'       => '',
                                'posted'     => '',
                                'guid'       => '',
-                               'message_id' => $matches[2],
+                               'message_id' => trim($matches[2]),
                                'comment'    => trim($matches[1]),
                                'shared'     => '',
                        ];