Skip to content

Commit

Permalink
bugfix: MathJax aligned environment breaks in templates (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzturc committed Oct 6, 2022
1 parent 2425fdf commit 538f569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processors/templateProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class TemplateProcessor {
}
let templateContent = this.utils.parseFile(fileWithExtension, null);
templateContent = this.multipleFileProcessor.process(templateContent);
templateContent = templateContent.replaceAll('<% content %>', slide.replaceAll(templateProperty, ''));
templateContent = templateContent.split('<% content %>').join(slide.replaceAll(templateProperty, ''));
return templateContent;
} else {
return slide;
Expand Down

0 comments on commit 538f569

Please sign in to comment.