diff --git a/web/admin/problem_edit.php b/web/admin/problem_edit.php
index 6cd24a4..ac456a4 100644
--- a/web/admin/problem_edit.php
+++ b/web/admin/problem_edit.php
@@ -236,17 +236,20 @@ include_once("kindeditor.php") ;
$description = $_POST['description'];
// $description = str_replace("
", "", $description);
// $description = str_replace("
", "
", $description);
- $description = str_replace(",", ",", $description);
+ // $description = str_replace(",", ",", $description);
+ $description = html_entity_decode($description,ENT_QUOTES,"UTF-8");
$input = $_POST['input'];
// $input = str_replace("", "", $input);
// $input = str_replace("
", "
", $input);
- $input = str_replace(",", ",", $input);
+ // $input = str_replace(",", ",", $input);
+ $input = html_entity_decode($input,ENT_QUOTES,"UTF-8");
$output = $_POST['output'];
// $output = str_replace("", "", $output);
// $output = str_replace("
", "
", $output);
- $output = str_replace(",", ",", $output);
+ // $output = str_replace(",", ",", $output);
+ $output = html_entity_decode($output,ENT_QUOTES,"UTF-8");
$sample_input = $_POST['sample_input'];
$sample_output = $_POST['sample_output'];
@@ -256,7 +259,8 @@ include_once("kindeditor.php") ;
$hint = $_POST['hint'];
// $hint = str_replace("", "", $hint);
// $hint = str_replace("
", "
", $hint);
- $hint = str_replace(",", ",", $hint);
+ // $hint = str_replace(",", ",", $hint);
+ $hint = html_entity_decode($hint,ENT_QUOTES,"UTF-8");
$source = $_POST['source'];
$remote_oj= $_POST['remote_oj'];