From b2087a5664e226ce305650b299f7a2335a932ed8 Mon Sep 17 00:00:00 2001 From: klarkxy <278370456@qq.com> Date: Fri, 6 Dec 2024 18:00:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=90=8E=E5=9C=A8=E8=BD=ACmarkdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/template/syzoj/problem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } ?>