htmlentities -> htmlspecialchars
This commit is contained in:
@@ -58,7 +58,7 @@ else {
|
||||
$time=getPartByMark($file_content,"时间限制:","ms");
|
||||
$time=intval($time)/1000;
|
||||
$memory=getPartByMark($file_content,"空间限制:","MiB");
|
||||
echo "<hr>".htmlentities(" $title $source");
|
||||
echo "<hr>".htmlspecialchars(" $title $source");
|
||||
$pid = addproblem($title,$time,$memory, $description, $input, $output, $sample_input, $sample_output, $hint, $source, $spj, $OJ_DATA);
|
||||
echo "PID:$pid";
|
||||
mkdir($OJ_DATA."/$pid");
|
||||
|
||||
Reference in New Issue
Block a user