@arsedizioni/ars-utils 20.0.38 → 20.0.40

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.
@@ -1031,7 +1031,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1031
1031
  private changeDetector;
1032
1032
  private clipperService;
1033
1033
  readonly useSelections: _angular_core.InputSignal<boolean>;
1034
- readonly selectionSource: _angular_core.InputSignal<"selection" | "none" | "bag">;
1034
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1035
1035
  protected selection: () => ClipperDocumentInfo[];
1036
1036
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1037
1037
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -372,8 +372,9 @@ class SystemUtils {
372
372
  // 14. Paragrafi (ultimo step per non interferire con altri elementi)
373
373
  html = this.markdownConvertParagraphs(html);
374
374
  // 15. Clean up extra newlines
375
- html = html.replace(/\n{3,}/g, '\n\n');
375
+ html = html.replace(/\`\`\`markdown/g, '');
376
376
  html = html.replace(/\*\*/g, '');
377
+ html = html.replace(/\n{3,}/g, '\n\n');
377
378
  return html.trim();
378
379
  }
379
380
  /**