fix: fix code rendering

This commit is contained in:
tdurieux
2024-04-05 10:17:47 +01:00
parent 22a28a913d
commit 7ed973ccfc

View File

@@ -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;
}
}