mol_jsx_lib 0.0.59 → 0.0.60

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/node.esm.js CHANGED
@@ -828,7 +828,7 @@ var $;
828
828
  function $mol_jsx(Elem, props, ...childNodes) {
829
829
  const id = props && props.id || '';
830
830
  const guid = id ? $.$mol_jsx_prefix ? $.$mol_jsx_prefix + '/' + id : id : $.$mol_jsx_prefix;
831
- const crumbs_self = id ? $.$mol_jsx_crumbs.replace(/([^ ]+)/, `$1_${id}`) : $.$mol_jsx_crumbs;
831
+ const crumbs_self = id ? $.$mol_jsx_crumbs.replace(/(\S+)/g, `$1_${id}`) : $.$mol_jsx_crumbs;
832
832
  if (Elem && $.$mol_jsx_booked) {
833
833
  if ($.$mol_jsx_booked.has(id)) {
834
834
  $mol_fail(new Error(`JSX already has tag with id ${JSON.stringify(guid)}`));