* Replace htmlspecialchars to htmlSpecialString for compatibility.

This commit is contained in:
zhujinyong
2021-11-10 14:57:48 +08:00
parent 1cfabe67d8
commit 37b486ad1c
43 changed files with 253 additions and 237 deletions
+1 -1
View File
@@ -77,7 +77,7 @@
</tr>
<tr>
<th><?php echo $lang->testtask->desc;?></th>
<td colspan='2'><?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows=10 class='form-control'");?></td>
<td colspan='2'><?php echo html::textarea('desc', htmlSpecialString($task->desc), "rows=10 class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->comment;?></th>