diff options
Diffstat (limited to 'mod/editpost.php')
-rw-r--r-- | mod/editpost.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/editpost.php b/mod/editpost.php index 1d7b7b6fb..b28e58348 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -83,7 +83,7 @@ function editpost_content(&$a) { '$pvisit' => 'none', '$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' => t('Categories (comma-separated list)'), |