]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Text/BBCode.php
Merge pull request #7774 from annando/img-title
[friendica.git] / src / Content / Text / BBCode.php
index 11e7840b0a283e7237808ed0283f79fb4b7d7b4e..8a029fe5344441dd4b6646ef1c81fb9993f10777 100644 (file)
@@ -1553,7 +1553,7 @@ class BBCode extends BaseObject
                        function ($matches) use ($simple_html) {
                                $matches[1] = self::proxyUrl($matches[1], $simple_html);
                                $matches[2] = htmlspecialchars($matches[2], ENT_COMPAT);
-                               return '<img src="' . $matches[1] . '" alt="' . $matches[2] . '">';
+                               return '<img src="' . $matches[1] . '" alt="' . $matches[2] . '" title="' . $matches[2] . '">';
                        },
                        $text);