]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Let an item be accssible via the GUI (additionally to uid and item id)
[friendica.git] / mod / editpost.php
index 258e2e0b15652d5390f3419e86f1b69016864a18..afa9d98682c3d630bc2161d395b541f62bc69c9c 100644 (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)') : ''),