@arsedizioni/ars-utils 20.4.22 → 20.4.24

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.
@@ -1366,7 +1366,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
1366
1366
  }
1367
1367
  else {
1368
1368
  if (r.value && r.value.length > 1) {
1369
- this.dialogService.info(r.value.replace(/\n/g, '<br>\r\n').replace(/<\/p><br>\r\n/g, '</p>\r\n'), "Commento", "Chiudi", 700);
1369
+ this.dialogService.info(r.value.replace(/<\/p><br>\r\n/g, '</p>\r\n'), "Commento", "Chiudi", 700);
1370
1370
  }
1371
1371
  else
1372
1372
  this.dialogService.info("Commento non più disponibile o in fase di revisione.");
@@ -2123,19 +2123,19 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
2123
2123
  n.anchors = anchors;
2124
2124
  }
2125
2125
  if (n.validityState > 0) {
2126
- n.validityDescription = 'Il documento non è più vigente';
2126
+ n.validityDescription = 'Non è più vigente';
2127
2127
  n.isExpired = true;
2128
2128
  if (n.validUntilDate) {
2129
2129
  const expiringDate = startOfDay(new Date(n.validUntilDate));
2130
2130
  if (expiringDate < today) {
2131
2131
  n.validityDescription =
2132
- 'Il documento non è più vigente dal ' +
2132
+ 'Non più vigente dal ' +
2133
2133
  SystemUtils.formatDate(expiringDate) +
2134
2134
  '.';
2135
2135
  }
2136
2136
  else {
2137
2137
  n.validityDescription =
2138
- 'Il documento non sarà più vigente dal ' +
2138
+ 'Non sarà più vigente dal ' +
2139
2139
  SystemUtils.formatDate(expiringDate) +
2140
2140
  '.';
2141
2141
  n.isExpired = false;