@hyperbook/markdown 0.24.9 → 0.24.10

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/dist/index.js CHANGED
@@ -66692,7 +66692,7 @@ var remarkDirectiveCollapsible_default = (ctx) => () => {
66692
66692
  });
66693
66693
  for (const node3 of collapsibleNodes) {
66694
66694
  const data = node3.data || (node3.data = {});
66695
- const { title = "", id } = node3.data.hProperties || {};
66695
+ const { title = "", id = hash(node3) } = node3.data.hProperties || {};
66696
66696
  expectContainerDirective(node3, file, name);
66697
66697
  registerDirective(file, name, [], ["style.css"]);
66698
66698
  node3.attributes = {};