回归本源

This commit is contained in:
2024-11-23 18:03:49 +08:00
parent 6b53650a96
commit 385241ac01
3 changed files with 4 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ include_once("kindeditor.php") ;
</p>
<p align=left>
<?php echo "<h4>".$MSG_Description."</h4>"?>
<textarea class="kindeditor" rows=13 name=description cols=80><?php echo $row['description']?></textarea><br>
<textarea class="kindeditor" rows=13 name=description cols=80><?php echo htmlentities($row['description'],ENT_QUOTES,"UTF-8")?></textarea><br>
</p>
<p align=left>
@@ -237,7 +237,6 @@ include_once("kindeditor.php") ;
// $description = str_replace("<p>", "", $description);
// $description = str_replace("</p>", "<br />", $description);
$description = str_replace(",", "&#44;", $description);
$description = str_replace("\n\n", "\n<br/>", $description);
$input = $_POST['input'];
// $input = str_replace("<p>", "", $input);