MathJax: TeX-AMS_HTML.js -> TeX-AMS_HTML-full.js (#991)

This commit is contained in:
nobody 2022-05-18 06:12:17 +02:00
parent bfef1ba810
commit 65a7597b84
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 7 additions and 0 deletions

View File

@ -245,6 +245,9 @@ requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath
if (filename.startsWith('/npm/mathjax@3')) {
filename = filename.replace('/npm/mathjax@3/', '');
}
if (filename === 'config/TeX-AMS_HTML.js') {
filename = 'config/TeX-AMS_HTML-full.js';
}
if (!MathJaxFiles[filename] && !MathJax3Files[filename]) {
console.warn(`${LogString.PREFIX} ${LogString.MISSING_RESOURCE} ${channelHost + channelPath}`);
log.append(initiator, channelHost + channelPath, '-', true);

View File

@ -41,6 +41,10 @@
<li>Swiper v8.1.4 -> v8.1.5 (<a href="https://codeberg.org/nobody/LocalCDN/issues/989">#989</a>)</li>
<li>react-router v5.3.1 -> v5.3.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/990">#990</a>)</li>
</ul>
<p>Fixed</p>
<ul>
<li>MathJax: TeX-AMS_HTML.js -> TeX-AMS_HTML-full.js (<a href="https://codeberg.org/nobody/LocalCDN/issues/991">#991</a>)</li>
</ul>
</div>
<div id="generator-section">
<div class="topic-label">