* 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
@@ -59,7 +59,7 @@
</tr>
<tr id='contentBox' <?php if($doc->type == 'url') echo "class='hidden'"?>>
<th><?php echo $lang->doc->content;?></th>
<td colspan='2'><?php echo html::textarea('content', $doc->type == 'url' ? '' : htmlspecialchars($doc->content), "style='width:100%; height:200px'") . html::hidden('contentType', $doc->contentType);?></td>
<td colspan='2'><?php echo html::textarea('content', $doc->type == 'url' ? '' : htmlSpecialString($doc->content), "style='width:100%; height:200px'") . html::hidden('contentType', $doc->contentType);?></td>
</tr>
<tr id='urlBox' <?php if($doc->type != 'url') echo "class='hidden'"?>>
<th><?php echo $lang->doc->url;?></th>