mirror of
https://github.com/thegeneralist01/archivr
synced 2026-10-09 12:55:00 +02:00
fix: preserve text draft whitespace in capture UI
This commit is contained in:
parent
566b4eb7d7
commit
b609f3f012
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ export default function CaptureDialog({ open, archiveId, onClose, onCaptured, on
|
|||
return { type: 'file', locator: it.uploadLocator, quality: 'best', extraExtensions: {} }
|
||||
}
|
||||
if (it.kind === 'text') {
|
||||
return { type: 'text', title: it.title.trim(), body: it.body.trim(), mime: it.mime }
|
||||
return { type: 'text', title: it.title.trim(), body: it.body, mime: it.mime }
|
||||
}
|
||||
return {
|
||||
type: 'url',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue