Attachments: clean html

This commit is contained in:
Enrico Ros
2024-07-09 14:15:11 -07:00
parent 65feb3f032
commit 0f6673d6fd
2 changed files with 2 additions and 2 deletions
@@ -103,7 +103,7 @@ function attachmentLabelText(attachmentDraft: AttachmentDraft): string {
if (converter.id === 'rich-text-table')
return 'Rich Table';
if (converter.id === 'rich-text-cleaner')
return 'Cleaner HTML';
return 'Clean HTML';
if (converter.id === 'rich-text')
return 'Rich HTML';
}
@@ -272,7 +272,7 @@ export function attachmentDefineConverters(sourceType: AttachmentDraftSource['me
// p3: Html
if (textOriginHtml) {
converters.push({ id: 'rich-text', name: 'HTML' });
converters.push({ id: 'rich-text-cleaner', name: 'Cleaner HTML' });
converters.push({ id: 'rich-text-cleaner', name: 'Clean HTML' });
}
break;