|
@@ -83,7 +83,7 @@ this.docHelper = this.docHelper || (() => {
|
|
|
element.setAttribute(markerRemovedContent, "");
|
|
element.setAttribute(markerRemovedContent, "");
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- styles = new Map(Array.from(styles).filter(([element, style]) => element.getAttribute(markerRemovedContent) != ""));
|
|
|
|
|
|
|
+ styles = new Map(Array.from(styles).filter(([element]) => element.getAttribute(markerRemovedContent) != ""));
|
|
|
}
|
|
}
|
|
|
if (options.removeAlternativeFonts) {
|
|
if (options.removeAlternativeFonts) {
|
|
|
usedFonts = getUsedFonts(styles);
|
|
usedFonts = getUsedFonts(styles);
|