mirror of
https://github.com/friendica/friendica
synced 2025-04-29 23:44:22 +02:00
escape_tags calls
implement escapeTags function
This commit is contained in:
parent
a0f65ca7a1
commit
0e01568ccd
16 changed files with 52 additions and 50 deletions
|
@ -3447,7 +3447,7 @@ class Item extends BaseObject
|
|||
$filesubtype = 'unkn';
|
||||
}
|
||||
|
||||
$title = escape_tags(trim(!empty($mtch[4]) ? $mtch[4] : $mtch[1]));
|
||||
$title = Strings::escapeTags(trim(!empty($mtch[4]) ? $mtch[4] : $mtch[1]));
|
||||
$title .= ' ' . $mtch[2] . ' ' . L10n::t('bytes');
|
||||
|
||||
$icon = '<div class="attachtype icon s22 type-' . $filetype . ' subtype-' . $filesubtype . '"></div>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue