Skip to content

Commit a8088bb

Browse files
authored
Merge pull request #1533 from mathjax/fix/svg-reset
Clear the SVG stylesheet during reset.
2 parents 548793c + a1ec0f4 commit a8088bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ts/output/svg.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ export class SVG<N, T, D> extends CommonOutputJax<
197197
*/
198198
public reset() {
199199
this.clearFontCache();
200+
this.svgStyles = null;
200201
}
201202

202203
/**

0 commit comments

Comments
 (0)