mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:50:11 +00:00
Tests added
This commit is contained in:
parent
0f9099dec6
commit
7e6ba0b4d2
2 changed files with 10 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue