@pixldocs/canvas-renderer 0.4.2 → 0.4.3
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12948,13 +12948,13 @@ function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey, opti
|
|
|
12948
12948
|
svg.setAttribute("viewBox", `0 0 ${pageWidth} ${pageHeight}`);
|
|
12949
12949
|
sanitizeSvgTreeForPdf(svg);
|
|
12950
12950
|
normalizeSvgViewBoxOrigin(svg);
|
|
12951
|
+
disambiguateNestedSvgIds(svg);
|
|
12951
12952
|
expandSvgUseElements(svg);
|
|
12952
12953
|
const svgToDraw = normalizeSvgExplicitColors(svg);
|
|
12953
12954
|
inlineComputedStyles(svgToDraw);
|
|
12954
12955
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
12955
12956
|
normalizeSvgGradientStopOffsets(svgToDraw);
|
|
12956
12957
|
expandSvgGradientHrefs(svgToDraw);
|
|
12957
|
-
disambiguateNestedSvgIds(svgToDraw);
|
|
12958
12958
|
prefixSvgIds(svgToDraw, pageKey);
|
|
12959
12959
|
bakeGroupOpacityIntoChildren(svgToDraw);
|
|
12960
12960
|
stripSuspiciousFullPageOverlayNodes(svgToDraw);
|