mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Attachments: clean html
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user