mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:50:11 +00:00
Reformatted code
This commit is contained in:
parent
aea3ed4548
commit
699be97ea1
2 changed files with 7 additions and 15 deletions
|
@ -870,8 +870,7 @@ class BBCode
|
|||
$attributes[$field] = html_entity_decode($matches[2] ?? '', ENT_QUOTES, 'UTF-8');
|
||||
}
|
||||
|
||||
$img_str = '<img src="' .
|
||||
self::proxyUrl($match[2], $simplehtml, $uriid) . '"';
|
||||
$img_str = '<img src="' . self::proxyUrl($match[2], $simplehtml, $uriid) . '"';
|
||||
foreach ($attributes as $key => $value) {
|
||||
if (!empty($value)) {
|
||||
$img_str .= ' ' . $key . '="' . htmlspecialchars($value, ENT_COMPAT) . '"';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue