From 4d65c23bdfbe85d0c2e9467eac735d2a0f75e758 Mon Sep 17 00:00:00 2001 From: klarkxy <278370456@qq.com> Date: Sat, 10 May 2025 16:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/template/syzoj/problem.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/template/syzoj/problem.php b/web/template/syzoj/problem.php index ab23eca..1a7485e 100644 --- a/web/template/syzoj/problem.php +++ b/web/template/syzoj/problem.php @@ -501,7 +501,7 @@ if ($pr_flag) { $(document).ready(function () { $("#creator").load("problem-ajax.php?pid="); - + marked.use({ // 开启异步渲染 async: true, @@ -512,9 +512,9 @@ if ($pr_flag) { }); $(".md").each(function () { - + let markdown_content = marked.parse($(this).html()); - + const md = window.markdownit(); md.set({ html: true,