From 7ed973ccfcf05c3389109d0dcbfc0698340abda3 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Fri, 5 Apr 2024 10:17:47 +0100 Subject: [PATCH] fix: fix code rendering --- public/script/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script/utils.js b/public/script/utils.js index e2dfa75..1201cca 100644 --- a/public/script/utils.js +++ b/public/script/utils.js @@ -171,7 +171,7 @@ function renderMD(md, baseUrlValue) { renderer.code = function (code, lang, escaped) { if (!lang) { const math = replacer(code); - if (math != text) { + if (math != code) { return math; } }