html2canvas-pro 1.5.12 → 1.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/html2canvas-pro.esm.js +3 -2
- package/dist/html2canvas-pro.esm.js.map +1 -1
- package/dist/html2canvas-pro.js +3 -2
- package/dist/html2canvas-pro.js.map +1 -1
- package/dist/html2canvas-pro.min.js +2 -2
- package/dist/lib/dom/document-cloner.js +2 -1
- package/dist/lib/dom/document-cloner.js.map +1 -1
- package/package.json +1 -1
- package/test-punctuation.html +77 -0
package/dist/html2canvas-pro.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* html2canvas-pro 1.5.
|
|
2
|
+
* html2canvas-pro 1.5.13 <https://yorickshan.github.io/html2canvas-pro/>
|
|
3
3
|
* Copyright (c) 2024-present yorickshan and html2canvas-pro contributors
|
|
4
4
|
* Released under MIT License
|
|
5
5
|
*/
|
|
@@ -6542,7 +6542,8 @@
|
|
|
6542
6542
|
// Edge does not provide value for cssText
|
|
6543
6543
|
for (var i = style.length - 1; i >= 0; i--) {
|
|
6544
6544
|
var property = style.item(i);
|
|
6545
|
-
|
|
6545
|
+
// fix: Chrome_138 ignore custom properties
|
|
6546
|
+
if (ignoredStyleProperties.indexOf(property) === -1 && !property.startsWith('--')) {
|
|
6546
6547
|
target.style.setProperty(property, style.getPropertyValue(property));
|
|
6547
6548
|
}
|
|
6548
6549
|
}
|