mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-06-10 17:37:48 +02:00
fix: fix code rendering
This commit is contained in:
@@ -171,7 +171,7 @@ function renderMD(md, baseUrlValue) {
|
|||||||
renderer.code = function (code, lang, escaped) {
|
renderer.code = function (code, lang, escaped) {
|
||||||
if (!lang) {
|
if (!lang) {
|
||||||
const math = replacer(code);
|
const math = replacer(code);
|
||||||
if (math != text) {
|
if (math != code) {
|
||||||
return math;
|
return math;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user