From fb727c2dc3000104d66c638f09a8d9793418f06c Mon Sep 17 00:00:00 2001 From: zayn7lie Date: Tue, 9 Apr 2024 23:11:05 -0400 Subject: [PATCH] fix: markdown and katex rendering problem --- layouts/partials/article/components/mdtexbug.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/article/components/mdtexbug.html b/layouts/partials/article/components/mdtexbug.html index 4dcb7fc..f51f797 100644 --- a/layouts/partials/article/components/mdtexbug.html +++ b/layouts/partials/article/components/mdtexbug.html @@ -8,5 +8,7 @@ {{ $content = $content | replaceRE "\\_\\{" "\\_{" }} {{ $content = $content | replaceRE "\\_\\\\" "\\_\\" }} + +{{ $content = $content | replaceRE "\\\\," "\\\\,"}} {{ $content | .Page.RenderString | safeHTML }}