@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.cjs
CHANGED
|
@@ -5545,6 +5545,9 @@ function buildNode(n2, options) {
|
|
|
5545
5545
|
n2.isStyle && hackCss ? adaptCssForReplay(n2.textContent, cache) : n2.textContent
|
|
5546
5546
|
);
|
|
5547
5547
|
case NodeType$1$1.CDATA:
|
|
5548
|
+
if (n2.textContent.trim() === "") {
|
|
5549
|
+
return null;
|
|
5550
|
+
}
|
|
5548
5551
|
return doc.createCDATASection(n2.textContent);
|
|
5549
5552
|
case NodeType$1$1.Comment:
|
|
5550
5553
|
return doc.createComment(n2.textContent);
|