From b609f3f0124d369c6b7e2d07c40d18cb0cef1ed0 Mon Sep 17 00:00:00 2001 From: archivr-qa Date: Mon, 24 Aug 2026 17:24:14 +0200 Subject: [PATCH] fix: preserve text draft whitespace in capture UI --- frontend/src/components/CaptureDialog.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/CaptureDialog.jsx b/frontend/src/components/CaptureDialog.jsx index 88a7ee9..46a5be4 100644 --- a/frontend/src/components/CaptureDialog.jsx +++ b/frontend/src/components/CaptureDialog.jsx @@ -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',