@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.
@@ -930,13 +930,15 @@ var kithinjiorca = (() => {
930
930
  return this.renderClassComponent(vnode, injector);
931
931
  }
932
932
  if (isIntrinsicElement(vnode)) {
933
+ const hasDangerousHTML = vnode.props?.dangerouslySetInnerHTML;
933
934
  return {
934
935
  $$typeof: ORCA_ELEMENT_TYPE,
935
936
  type: vnode.type,
936
937
  id: vnode.id,
937
938
  props: {
938
939
  ...vnode.props,
939
- children: this.mapChildren(vnode.props?.children, injector)
940
+ // Only process children if dangerouslySetInnerHTML is not present
941
+ children: hasDangerousHTML ? void 0 : this.mapChildren(vnode.props?.children, injector)
940
942
  },
941
943
  key: vnode.key ?? null
942
944
  };