From 9af73feb7be1eeeb50a635f3337e3cf2ae614ba6 Mon Sep 17 00:00:00 2001 From: klarkxy <278370456@qq.com> Date: Fri, 6 Dec 2024 17:48:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/template/syzoj/problem.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web/template/syzoj/problem.php b/web/template/syzoj/problem.php index ec2a78b..0e3d8ce 100644 --- a/web/template/syzoj/problem.php +++ b/web/template/syzoj/problem.php @@ -475,11 +475,7 @@ if ($pr_flag) { $(this).html(marked.parse($(this).html())); - const md = window.markdownit()({ - html: true, - linkify: true, - typographer: true - }); + const md = window.markdownit(); $(this).html(md.render($(this).text())); });