projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2edccf9
)
Images: Show the description as title
author
Michael
<heluecht@pirati.ca>
Fri, 25 Oct 2019 23:23:38 +0000
(23:23 +0000)
committer
Michael
<heluecht@pirati.ca>
Fri, 25 Oct 2019 23:23:38 +0000
(23:23 +0000)
src/Content/Text/BBCode.php
patch
|
blob
|
history
diff --git
a/src/Content/Text/BBCode.php
b/src/Content/Text/BBCode.php
index 75f5d506e1b60339943db55943c7ae1afc71c96d..0dbac8b7710a4c10bd1148f2b611c241469b3731 100644
(file)
--- a/
src/Content/Text/BBCode.php
+++ b/
src/Content/Text/BBCode.php
@@
-1552,7
+1552,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);