@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.js
CHANGED
|
@@ -12929,13 +12929,13 @@ function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey, opti
|
|
|
12929
12929
|
svg.setAttribute("viewBox", `0 0 ${pageWidth} ${pageHeight}`);
|
|
12930
12930
|
sanitizeSvgTreeForPdf(svg);
|
|
12931
12931
|
normalizeSvgViewBoxOrigin(svg);
|
|
12932
|
+
disambiguateNestedSvgIds(svg);
|
|
12932
12933
|
expandSvgUseElements(svg);
|
|
12933
12934
|
const svgToDraw = normalizeSvgExplicitColors(svg);
|
|
12934
12935
|
inlineComputedStyles(svgToDraw);
|
|
12935
12936
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
12936
12937
|
normalizeSvgGradientStopOffsets(svgToDraw);
|
|
12937
12938
|
expandSvgGradientHrefs(svgToDraw);
|
|
12938
|
-
disambiguateNestedSvgIds(svgToDraw);
|
|
12939
12939
|
prefixSvgIds(svgToDraw, pageKey);
|
|
12940
12940
|
bakeGroupOpacityIntoChildren(svgToDraw);
|
|
12941
12941
|
stripSuspiciousFullPageOverlayNodes(svgToDraw);
|