escape_tags calls

implement escapeTags function
This commit is contained in:
Adam Magness 2018-11-08 10:20:03 -05:00
parent a0f65ca7a1
commit 0e01568ccd
16 changed files with 52 additions and 50 deletions

View file

@ -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>';