最后在转markdown

This commit is contained in:
2024-12-06 18:00:52 +08:00
parent 8d3adf194d
commit b2087a5664

View File

@@ -122,10 +122,10 @@ if ($pr_flag) {
function trans_md($str)
{
$s = $str;
$s = bbcode_to_html($s);
if (strpos($s, "class='md") === false &&
strpos($s, "class=\"md") === false) // 没找到,那就加上
$s = "<span class='md'>" . $s . "</span>";
$s = bbcode_to_html($s);
return $s;
}
?>