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
|
@@ -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
|
*/
|
|
@@ -6536,7 +6536,8 @@ var copyCSSStyles = function (style, target) {
|
|
|
6536
6536
|
// Edge does not provide value for cssText
|
|
6537
6537
|
for (var i = style.length - 1; i >= 0; i--) {
|
|
6538
6538
|
var property = style.item(i);
|
|
6539
|
-
|
|
6539
|
+
// fix: Chrome_138 ignore custom properties
|
|
6540
|
+
if (ignoredStyleProperties.indexOf(property) === -1 && !property.startsWith('--')) {
|
|
6540
6541
|
target.style.setProperty(property, style.getPropertyValue(property));
|
|
6541
6542
|
}
|
|
6542
6543
|
}
|