From 6899bb9510055f3c97fd52aaf780813a4735d1fc Mon Sep 17 00:00:00 2001 From: Maria A Nunez Date: Mon, 8 Jun 2020 19:58:48 -0400 Subject: [PATCH] MM-25809 - Fixed rendering code blocks when starting with 4 spaces (#4397) --- app/components/post_draft/post_draft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/post_draft/post_draft.js b/app/components/post_draft/post_draft.js index ae5b0ae0e..4e03925f0 100644 --- a/app/components/post_draft/post_draft.js +++ b/app/components/post_draft/post_draft.js @@ -141,7 +141,7 @@ export default class PostDraft extends PureComponent { channel_id: channelId, root_id: rootId, parent_id: rootId, - message: value.trim(), + message: value, }; createPost(post, postFiles);