@arsedizioni/ars-utils 19.2.15 → 19.2.16

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.
@@ -1363,8 +1363,9 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
1363
1363
  this.dialogService.error(r.message);
1364
1364
  }
1365
1365
  else {
1366
- if (r.value && r.value.length > 1)
1367
- this.dialogService.info(r.value.replace(/\n/g, '<br>\r\n'), "Commento", "Chiudi", 700);
1366
+ if (r.value && r.value.length > 1) {
1367
+ this.dialogService.info(r.value.replace(/\n/g, '<br>\r\n').replace(/<\/p><br>\r\n/g, '</p>\r\n'), "Commento", "Chiudi", 700);
1368
+ }
1368
1369
  else
1369
1370
  this.dialogService.info("Commento non più disponibile o in fase di revisione.");
1370
1371
  }