@arsedizioni/ars-utils 21.1.97 → 21.1.99
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.
|
@@ -301,8 +301,10 @@ class ClipperDocumentManager {
|
|
|
301
301
|
? 'Origine: ' +
|
|
302
302
|
item.origin +
|
|
303
303
|
' - ' +
|
|
304
|
-
(item.originDescription ? item.originDescription : '') +
|
|
305
|
-
|
|
304
|
+
(item.originDescription ? item.originDescription : '') + '<br>'
|
|
305
|
+
: '';
|
|
306
|
+
let topics = item.topics
|
|
307
|
+
? 'Argomenti: ' + item.topics.replaceAll('o', '.') + '<br>'
|
|
306
308
|
: '';
|
|
307
309
|
if (!id)
|
|
308
310
|
return;
|
|
@@ -317,8 +319,9 @@ class ClipperDocumentManager {
|
|
|
317
319
|
'<hr>' +
|
|
318
320
|
'<p class="small">' +
|
|
319
321
|
channels +
|
|
320
|
-
origin
|
|
321
|
-
|
|
322
|
+
origin +
|
|
323
|
+
topics +
|
|
324
|
+
'</p>';
|
|
322
325
|
this.dialogService.info(message, 'Copia link', 'Chiudi');
|
|
323
326
|
}
|
|
324
327
|
/**
|
|
@@ -1146,8 +1149,8 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1146
1149
|
}
|
|
1147
1150
|
this.lastDocument.id = id;
|
|
1148
1151
|
this.lastDocument.documentId = id;
|
|
1149
|
-
this.lastDocument.title1 = title1 ? SystemUtils.urlDecode(title1) : null;
|
|
1150
|
-
this.lastDocument.title2 = title2 ? SystemUtils.urlDecode(title2) : null;
|
|
1152
|
+
this.lastDocument.title1 = title1 ? SystemUtils.urlDecode(title1).replaceAll('\\"', '"') : null;
|
|
1153
|
+
this.lastDocument.title2 = title2 ? SystemUtils.urlDecode(title2).replaceAll('\\"', '"') : null;
|
|
1151
1154
|
this.lastDocument.tags = tags;
|
|
1152
1155
|
this.lastDocument.model = model;
|
|
1153
1156
|
this.lastDocument.module = moduleId;
|
|
@@ -1205,9 +1208,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1205
1208
|
this.lastDocument.expiringDescription = parts[1];
|
|
1206
1209
|
}
|
|
1207
1210
|
// Set title
|
|
1208
|
-
this.title.set(this.lastDocument.title1
|
|
1209
|
-
? this.lastDocument.title1
|
|
1210
|
-
: this.lastDocument.title2);
|
|
1211
|
+
this.title.set(this.lastDocument.title1 ?? this.lastDocument.title2);
|
|
1211
1212
|
// Get last document update
|
|
1212
1213
|
this.clipperService.lastUpdate(this.lastDocument.id).subscribe(r => {
|
|
1213
1214
|
if (r.success) {
|