check that every invocation of htmlspecialchars has the right arg list

This commit is contained in:
friendica
2013-12-12 02:01:42 -08:00
parent b3fe221b7f
commit 941f81eb30
8 changed files with 10 additions and 10 deletions

View File

@@ -117,7 +117,7 @@ function editlayout_content(&$a) {
'$pvisit' => 'none',
'$public' => t('Public post'),
'$jotnets' => $jotnets,
'$title' => htmlspecialchars($itm[0]['title']),
'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),
'$placeholdertitle' => t('Set title'),
'$category' => '',
'$placeholdercategory' => t('Categories (comma-separated list)'),