]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Text/BBCode.php
Tests added
[friendica.git] / src / Content / Text / BBCode.php
index 930b94ac465bae41b947cf4933df15d3e6c113d3..a38d2de7856ec39f7c24c38c36d7a5af6c92eee2 100644 (file)
@@ -1568,7 +1568,7 @@ class BBCode
                                        function ($matches) use ($simple_html, $uriid) {
                                                $matches[1] = self::proxyUrl($matches[1], $simple_html, $uriid);
                                                $alt = htmlspecialchars($matches[2], ENT_COMPAT);
-                                               // Fix for Markdown problems wirh Diaspora, see issue #12701
+                                               // Fix for Markdown problems with Diaspora, see issue #12701
                                                if (($simple_html != self::DIASPORA) || strpos($matches[2], '"') === false) {
                                                        return '<img src="' . $matches[1] . '" alt="' . $alt . '" title="' . $alt . '">';
                                                } else {