We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 592765e commit 4988489Copy full SHA for 4988489
src/scripts/domParsers/domUtils.ts
@@ -202,7 +202,7 @@ export class DomUtils {
202
*/
203
public static removeStylesWithBase64EncodedBinaries(doc: Document): void {
204
DomUtils.domReplacer(doc, "style", (node: HTMLElement) => {
205
- return node.innerHTML.indexOf("data:application") !== -1 ? document.createElement("style") : node;
+ return node.innerHTML.indexOf("data:application") !== -1 ? undefined : node;
206
});
207
}
208
0 commit comments