From 9925fa62e17cad96a9220b5ceb60ac420d25d0aa Mon Sep 17 00:00:00 2001 From: iskaktoltay Date: Tue, 5 Nov 2024 17:27:09 +0500 Subject: [PATCH] fixed image caption with styles export --- frontend/packages/app/utils/blocks-to-markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/packages/app/utils/blocks-to-markdown.ts b/frontend/packages/app/utils/blocks-to-markdown.ts index 9f7ac6f16..7c55aa5bd 100644 --- a/frontend/packages/app/utils/blocks-to-markdown.ts +++ b/frontend/packages/app/utils/blocks-to-markdown.ts @@ -79,7 +79,7 @@ function convertBlockToHtml( case 'image': const {url, name, width} = block.props const titleWithWidth = `${name} | width=${width}` - return `${contentHtml}` + return `\"${contentHtml}\"` case 'codeBlock': return `