@schukai/monster 4.97.0 → 4.98.0

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.
@@ -820,6 +820,14 @@ function applyRecursive(node, key, path) {
820
820
  );
821
821
  }
822
822
 
823
+ if (node.hasAttribute(ATTRIBUTE_UPDATER_INSERT)) {
824
+ const value = node.getAttribute(ATTRIBUTE_UPDATER_INSERT);
825
+ node.setAttribute(
826
+ ATTRIBUTE_UPDATER_INSERT,
827
+ value.replaceAll(`path:${key}`, `path:${path}`),
828
+ );
829
+ }
830
+
823
831
  for (const [, child] of Object.entries(node.childNodes)) {
824
832
  if (child instanceof HTMLElement) {
825
833
  applyRecursive(child, key, path);