MathJax TeX-AMS_HTML.js -> TeX-AMS_HTML-full.js (#784)

This commit is contained in:
nobody 2021-11-27 06:51:03 +01:00
parent caf8577844
commit 4ba1aab265
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 5 additions and 0 deletions

View File

@ -336,6 +336,7 @@ const IgnoredHost = {
const MathJaxFiles = { const MathJaxFiles = {
'config/default.js': true, 'config/default.js': true,
'config/MML_HTMLorMML.js': true, 'config/MML_HTMLorMML.js': true,
'config/TeX-AMS_HTML.js': true,
'config/TeX-AMS_HTML-full.js': true, 'config/TeX-AMS_HTML-full.js': true,
'config/TeX-AMS-MML_HTMLorMML.js': true, 'config/TeX-AMS-MML_HTMLorMML.js': true,
'config/TeX-MML-AM_CHTML.js': true, 'config/TeX-MML-AM_CHTML.js': true,

View File

@ -184,6 +184,9 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
log.append(initiator, channelHost + channelPath, '-', true); log.append(initiator, channelHost + channelPath, '-', true);
break; break;
} }
if (filename === 'config/TeX-AMS_HTML.js') {
filename = 'config/TeX-AMS_HTML-full.js';
}
} }
targetPath = (filename.endsWith('.js')) ? `${targetPath + filename}m` : targetPath + filename; targetPath = (filename.endsWith('.js')) ? `${targetPath + filename}m` : targetPath + filename;
targetPath = helpers.formatFilename(targetPath); targetPath = helpers.formatFilename(targetPath);

View File

@ -60,6 +60,7 @@
<li>i18n: Persian</li> <li>i18n: Persian</li>
<li>i18n: Vietnamese</li> <li>i18n: Vietnamese</li>
<li>ember.js v4.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/781">#781</a>)</li> <li>ember.js v4.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/781">#781</a>)</li>
<li>MathJax TeX-AMS_HTML.js -> TeX-AMS_HTML-full.js (<a href="https://codeberg.org/nobody/LocalCDN/issues/784">#784</a>)</li>
</ul> </ul>
<p>Fixed</p> <p>Fixed</p>
<ul> <ul>