Skip to content

Commit

Permalink
Update src/dom-to-image-more.js
Browse files Browse the repository at this point in the history
Co-authored-by: meche-gh <[email protected]>
  • Loading branch information
IDisposable and zm-cttae authored Jan 12, 2023
1 parent b1e296d commit 40d2314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom-to-image-more.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@
sandbox.contentWindow.document.body.appendChild(defaultElement);
// Ensure that there is some content, so that properties like margin are applied.
// we use zero-width space to handle FireFox adding a pixel
defaultElement.textContent = '\0x200B';
defaultElement.textContent = '\u200b';
const defaultComputedStyle =
sandbox.contentWindow.getComputedStyle(defaultElement);
const defaultStyle = {};
Expand Down

0 comments on commit 40d2314

Please sign in to comment.