htmlentities -> htmlspecialchars

This commit is contained in:
2024-12-06 15:35:38 +08:00
parent daa005f029
commit d9b2d13caa
184 changed files with 410 additions and 405 deletions

View File

@@ -60,7 +60,7 @@ include_once("kindeditor.php") ;
$element=$html->find('pre[class=sio]',1);
$sample_output=$element->innertext;
$element=$html->find('div[class=ptx]',3);
$hint=htmlentities($element->outertext);
$hint=htmlspecialchars($element->outertext);
?>
<form method=POST action=problem_add.php>
<input type=hidden name=problem_id value=New Problem>