double quotes in title mess up editpost

This commit is contained in:
friendica 2013-05-18 16:02:31 -07:00
parent 0ce68665c6
commit 6ec1bd2fa8
3 changed files with 4 additions and 4 deletions

View file

@ -133,7 +133,7 @@ function editpost_content(&$a) {
'$emailcc' => t('CC: email addresses'),
'$public' => t('Public post'),
'$jotnets' => $jotnets,
'$title' => $itm[0]['title'],
'$title' => htmlspecialchars($itm[0]['title']),
'$placeholdertitle' => t('Set title'),
'$category' => file_tag_file_to_list($itm[0]['file'], 'category'),
'$placeholdercategory' => (feature_enabled(local_user(),'categories') ? t('Categories (comma-separated list)') : ''),