@posthog/rrweb-snapshot 0.0.12 → 0.0.14
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/rrweb-snapshot.cjs +3 -0
- package/dist/rrweb-snapshot.cjs.map +1 -1
- package/dist/rrweb-snapshot.js +3 -0
- package/dist/rrweb-snapshot.js.map +1 -1
- package/dist/rrweb-snapshot.umd.cjs +3 -0
- package/dist/rrweb-snapshot.umd.cjs.map +2 -2
- package/dist/rrweb-snapshot.umd.min.cjs +1 -1
- package/dist/rrweb-snapshot.umd.min.cjs.map +2 -2
- package/package.json +1 -1
|
@@ -5606,6 +5606,9 @@ function buildNode(n, options) {
|
|
|
5606
5606
|
n.isStyle && hackCss ? adaptCssForReplay(n.textContent, cache) : n.textContent
|
|
5607
5607
|
);
|
|
5608
5608
|
case NodeType$1.CDATA:
|
|
5609
|
+
if (n.textContent.trim() === "") {
|
|
5610
|
+
return null;
|
|
5611
|
+
}
|
|
5609
5612
|
return doc.createCDATASection(n.textContent);
|
|
5610
5613
|
case NodeType$1.Comment:
|
|
5611
5614
|
return doc.createComment(n.textContent);
|