From edb57eea3481322443fa84655730522a44e815e4 Mon Sep 17 00:00:00 2001 From: elkan1788 Date: Sun, 15 Dec 2024 15:20:37 +0800 Subject: [PATCH] :bug: Fixed mathjax work scope exclude post footer --- assets/js/third-party/others/math.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/third-party/others/math.js b/assets/js/third-party/others/math.js index 9604305..c25e9b9 100644 --- a/assets/js/third-party/others/math.js +++ b/assets/js/third-party/others/math.js @@ -14,9 +14,9 @@ NexT.plugins.others.math = function() { svg: { fontCache: 'global' }, - // 排除特定的HTML标签,避免渲染 + // 排除特定的HTML标签,避免过度渲染 options: { - skipHtmlTags: ["script", "noscript", "style", "textarea", "pre"], + skipHtmlTags: ["script", "noscript", "style", "textarea", "pre", "footer"], } }; `;