mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
fix: fix code rendering
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user