]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Item.php
Rename escapeTags to escapeHtml
[friendica.git] / src / Model / Item.php
index e12f6b6eedfc0b014512690be1bc2261ee0e804f..c088685e8df421ccdfff3c8a8e1b8e5494b3e6cf 100644 (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>';