diff --git a/web/template/syzoj/problem.php b/web/template/syzoj/problem.php index c61d6b3..5f32a73 100644 --- a/web/template/syzoj/problem.php +++ b/web/template/syzoj/problem.php @@ -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 = "" . $s . ""; - $s = bbcode_to_html($s); return $s; } ?>