diff --git a/web/template/syzoj/problem.php b/web/template/syzoj/problem.php index 5f32a73..cf8b55a 100644 --- a/web/template/syzoj/problem.php +++ b/web/template/syzoj/problem.php @@ -477,7 +477,7 @@ if ($pr_flag) { $(this).html(marked.parse($(this).html())); const md = window.markdownit(); - $(this).html(md.render($(this).text())); + $(this).html(md.render($(this).html())); }); // adding note for ```input1 ```output1 in description