trans_md中增加大于小于号转换

This commit is contained in:
2025-05-09 18:12:22 +08:00
parent 969f483693
commit e22a8d8d4d

View File

@@ -134,6 +134,9 @@ if ($pr_flag) {
}, $s);
// 特殊转义
$s = str_replace("<br />", "\n", $s);
// 大于小于号
$s = str_replace("&lt;", "<", $s);
$s = str_replace("&gt;", ">", $s);
return $s;
}
?>