@posthog/rrweb 0.0.13 → 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.cjs +3 -0
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.js +3 -0
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +3 -0
- package/dist/rrweb.umd.cjs.map +2 -2
- package/dist/rrweb.umd.min.cjs +1 -1
- package/dist/rrweb.umd.min.cjs.map +2 -2
- package/package.json +1 -1
package/dist/rrweb.umd.cjs
CHANGED
|
@@ -5589,6 +5589,9 @@ function buildNode(n2, options) {
|
|
|
5589
5589
|
n2.isStyle && hackCss ? adaptCssForReplay(n2.textContent, cache) : n2.textContent
|
|
5590
5590
|
);
|
|
5591
5591
|
case NodeType$1$1.CDATA:
|
|
5592
|
+
if (n2.textContent.trim() === "") {
|
|
5593
|
+
return null;
|
|
5594
|
+
}
|
|
5592
5595
|
return doc.createCDATASection(n2.textContent);
|
|
5593
5596
|
case NodeType$1$1.Comment:
|
|
5594
5597
|
return doc.createComment(n2.textContent);
|