Skip to content

Commit 5292091

Browse files
committed
Use 'MathJax MJX-CHTML' classes instead of 'MathJax_CHTML' so all output can use .MathJax for common styling, and still use .MathJax.CHTML for CommonHTML-specific styling
1 parent b59c209 commit 5292091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mathjax3-ts/output/chtml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class CHTML extends AbstractOutputJax {
105105
this.math = math;
106106
this.nodes.document = html.document;
107107
math.root.setTeXclass(null);
108-
let node = this.html('mjx-chtml', {'class': 'MathJax_CHTML MJX-TEX'});
108+
let node = this.html('mjx-chtml', {'class': 'MathJax MJX-CHTML MJX-TEX'});
109109
const scale = math.metrics.scale * this.options.scale;
110110
if (scale !== 1) {
111111
node.style.fontSize = percent(scale);

0 commit comments

Comments
 (0)