X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=afa9d98682c3d630bc2161d395b541f62bc69c9c;hb=660bd39efad52b1c69bd8dd0ca27141b81f84ca5;hp=258e2e0b15652d5390f3419e86f1b69016864a18;hpb=93143702ed5fe88c0fce77d778d86ec651d4331e;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index 258e2e0b15..afa9d98682 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -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)') : ''),