🐛 Fixed mathjax work scope exclude post footer

This commit is contained in:
elkan1788 2024-12-15 15:20:37 +08:00
parent f955bcfa85
commit edb57eea34

View File

@ -14,9 +14,9 @@ NexT.plugins.others.math = function() {
svg: { svg: {
fontCache: 'global' fontCache: 'global'
}, },
// 排除特定的HTML标签避免渲染 // 排除特定的HTML标签避免过度渲染
options: { options: {
skipHtmlTags: ["script", "noscript", "style", "textarea", "pre"], skipHtmlTags: ["script", "noscript", "style", "textarea", "pre", "footer"],
} }
}; };
`; `;