Skip to content

Commit cde957c

Browse files
authored
Merge pull request #1291 from mathjax/issue3387
Fix font-extension URLs to include @mathjax (mathjax/MathJax#3387)
2 parents 681b432 + 33244ad commit cde957c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mjs/input/tex/extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {hasWindow} from '#js/util/context.js';
33

44
export function fontExtension(id, name, pkg = `@mathjax/${name}`) {
55
if (MathJax.loader) {
6-
const FONTPATH = hasWindow ? `https://cdn.jsdelivr.net/npm/${name}` : pkg;
6+
const FONTPATH = hasWindow ? `https://cdn.jsdelivr.net/npm/${pkg}` : pkg;
77
const path = name.replace(/-font-extension$/, '-extension');
88
const jax = (MathJax.config?.startup?.output || 'chtml');
99
combineDefaults(MathJax.config.loader, 'paths', {[path]: FONTPATH});

0 commit comments

Comments
 (0)