From 01ea27a39f74f43181faf18ceefe06df22a2e233 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 7 Mar 2019 21:33:42 +0000 Subject: [PATCH] add encoding to htmlspecialchars --- admin/project_editor.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/admin/project_editor.php b/admin/project_editor.php index 1b8eac1..cabaa32 100644 --- a/admin/project_editor.php +++ b/admin/project_editor.php @@ -235,7 +235,7 @@ function countwords() - "; @@ -292,7 +292,7 @@ if($config['project_type'] == 'yes'){ echo "\n"; while($r=mysql_fetch_object($q)) { if($r->id == $projectinfo->projectdivisions_id) $sel="selected=\"selected\""; else $sel=""; - echo "\n"; + echo "\n"; } echo "".REQUIREDFIELD; @@ -400,7 +400,7 @@ if($config['project_type'] == 'yes'){ } echo ""; - echo "
: + " /> type\">".htmlspecialchars(i18n($r->type))."\n"; + echo "\n"; } echo "".REQUIREDFIELD."
".i18n("Summary").": ".REQUIREDFIELD."
"; + echo "
".i18n("Summary").": ".REQUIREDFIELD."
"; $summarywords=preg_split("/[\s,]+/",$projectinfo->summary); $summarywordcount=count($summarywords); @@ -413,7 +413,7 @@ if($config['project_type'] == 'yes'){ echo i18n("%1 words maximum",array($config['participant_project_summary_wordmax'])); echo ""; - echo"
".i18n("Feedback").":
"; + echo"
".i18n("Feedback").":
"; ?>