@kithinji/orca 1.0.5 → 1.0.6

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.
@@ -824,13 +824,15 @@ var StreamRenderer = class {
824
824
  return this.renderClassComponent(vnode, injector);
825
825
  }
826
826
  if (isIntrinsicElement(vnode)) {
827
+ const hasDangerousHTML = vnode.props?.dangerouslySetInnerHTML;
827
828
  return {
828
829
  $$typeof: ORCA_ELEMENT_TYPE,
829
830
  type: vnode.type,
830
831
  id: vnode.id,
831
832
  props: {
832
833
  ...vnode.props,
833
- children: this.mapChildren(vnode.props?.children, injector)
834
+ // Only process children if dangerouslySetInnerHTML is not present
835
+ children: hasDangerousHTML ? void 0 : this.mapChildren(vnode.props?.children, injector)
834
836
  },
835
837
  key: vnode.key ?? null
836
838
  };