Rename escapeTags to escapeHtml

rename function and update calls.
This commit is contained in:
Adam Magness 2018-11-09 13:27:58 -05:00
parent b5a97c1abe
commit 063f0e9cb0
16 changed files with 44 additions and 44 deletions

View file

@ -3447,7 +3447,7 @@ class Item extends BaseObject
$filesubtype = 'unkn';
}
$title = Strings::escapeTags(trim(!empty($mtch[4]) ? $mtch[4] : $mtch[1]));
$title = Strings::escapeHtml(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>';