Skip to content

Commit

Permalink
Fix bug with \text{} in textmacros package. (mathjax/MathJax#3082)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Aug 11, 2023
1 parent 49db078 commit e9235c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/input/tex/textmacros/TextParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class TextParser extends TexParser {
*/
protected copyLists() {
const parseOptions = this.texParser.configuration;
for (const [name, list] of Object.keys(this.configuration.nodeLists)) {
for (const [name, list] of Object.entries(this.configuration.nodeLists)) {
for (const node of list) {
parseOptions.addNode(name, node);
}
Expand Down

0 comments on commit e9235c9

Please sign in to comment.