关闭bbcode_to_html试试

This commit is contained in:
2024-12-06 16:45:56 +08:00
parent ad7b1538f3
commit 278a3e13cb

View File

@@ -121,9 +121,12 @@ if ($pr_flag) {
<?php
function trans_md($str)
{
return bbcode_to_html("<span class='md'>" .
return
// bbcode_to_html(
"<span class='md'>" .
htmlentities($str, ENT_QUOTES, 'UTF-8')
. "</span>");
. "</span>"
// );
}
?>
<div class="row">
@@ -131,7 +134,7 @@ if ($pr_flag) {
<h4 class="ui top attached block header"><?php echo $MSG_Description ?></h4>
<div id="description" class="ui bottom attached segment font-content">
<?php
echo $row['description'];
// echo $row['description'];
echo trans_md($row['description']);
?>
</div>