legal-markdown-js 3.4.3 → 3.4.4

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.
@@ -31766,6 +31766,10 @@ const unsafeWithoutUnderscores = [
31766
31766
  { atBreak: true, character: "~" }
31767
31767
  ];
31768
31768
  function escapeTemplateUnderscores(content) {
31769
+ const syntaxType = detectSyntaxType(content);
31770
+ if (syntaxType === "handlebars" || syntaxType === "mixed") {
31771
+ return content;
31772
+ }
31769
31773
  return content.replace(/\{\{([^}]+)\}\}/g, (match, inner) => {
31770
31774
  const trimmed = inner.trim();
31771
31775
  if (trimmed.startsWith("#") || // {{#if}}, {{#each}}, etc.
@@ -32005,7 +32009,7 @@ async function processLegalMarkdownWithRemark(content, options = {}) {
32005
32009
  ...yamlMetadata,
32006
32010
  ...options.additionalMetadata
32007
32011
  };
32008
- const { parseForceCommands, applyForceCommands } = await import('./force-commands-parser-Cki0raaV.js');
32012
+ const { parseForceCommands, applyForceCommands } = await import('./force-commands-parser-hlUVzHbd.js');
32009
32013
  let updatedOptions = { ...options };
32010
32014
  if (combinedMetadata.force_commands && typeof combinedMetadata.force_commands === "string") {
32011
32015
  const forceCommands = parseForceCommands(combinedMetadata.force_commands, combinedMetadata);
@@ -32208,4 +32212,4 @@ if (typeof window !== "undefined" && window.DEBUG_LEGAL_MARKDOWN) {
32208
32212
  }
32209
32213
 
32210
32214
  export { LegalMarkdown as L, processLegalMarkdown as a, processLegalMarkdownSync as b, extensionHelpers as e, fieldTracker as f, logger$1 as l, processTemplateLoops as p };
32211
- //# sourceMappingURL=browser-modern-C6Svf9Gv.js.map
32215
+ //# sourceMappingURL=browser-modern-Ch_Yyla_.js.map