@posthog/rrweb 0.0.13 → 0.0.18

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.
@@ -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);