Skip to content

Commit

Permalink
Update problem_edit.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Dec 11, 2024
1 parent 830cc94 commit f31a327
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions trunk/web/admin/problem_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,17 @@ function sync(){
$description = $_POST['description'];
// $description = str_replace("<p>", "", $description);
// $description = str_replace("</p>", "<br />", $description);
$description = str_replace(",", "&#44;", $description);
// $description = str_replace(",", "&#44;", $description);

$input = $_POST['input'];
// $input = str_replace("<p>", "", $input);
// $input = str_replace("</p>", "<br />", $input);
$input = str_replace(",", "&#44;", $input);
// $input = str_replace(",", "&#44;", $input);

$output = $_POST['output'];
// $output = str_replace("<p>", "", $output);
// $output = str_replace("</p>", "<br />", $output);
$output = str_replace(",", "&#44;", $output);
// $output = str_replace(",", "&#44;", $output);

$sample_input = $_POST['sample_input'];
$sample_output = $_POST['sample_output'];
Expand All @@ -225,7 +225,7 @@ function sync(){
$hint = $_POST['hint'];
// $hint = str_replace("<p>", "", $hint);
// $hint = str_replace("</p>", "<br />", $hint);
$hint = str_replace(",", "&#44;", $hint);
// $hint = str_replace(",", "&#44;", $hint);

$source = $_POST['source'];
$remote_oj= $_POST['remote_oj'];
Expand Down

0 comments on commit f31a327

Please sign in to comment.