最后在转markdown
This commit is contained in:
@@ -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;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user