Skip to content

Commit

Permalink
fix: stop double-processing tex in spans
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahhh authored and jheer committed Sep 25, 2024
1 parent 0db814d commit 79b2d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler/src/output/latex/tex-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class TexFormat {
return this.size(ast, getClasses(ast)
.map(cls => this.options.classes.get(cls))
.filter(x => x)
.reduce((s, c) => this.command(s, c), this.fragment(ast)));
.reduce((s, c) => this.command(s, c), ast));
}

link(ast) {
Expand Down

0 comments on commit 79b2d2b

Please sign in to comment.