From d5c865d09226b87f0ff70e781eff91eb59ec8541 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Tue, 8 Feb 2022 15:26:08 +0200 Subject: [PATCH] [#9480] Fix cutting of the last char in blockquote --- src/status_im/ui/screens/chat/message/message.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/chat/message/message.cljs b/src/status_im/ui/screens/chat/message/message.cljs index 6cecf4e5af..92b1834970 100644 --- a/src/status_im/ui/screens/chat/message/message.cljs +++ b/src/status_im/ui/screens/chat/message/message.cljs @@ -178,7 +178,7 @@ "blockquote" (conj acc [react/view (style/blockquote-style (and outgoing (not pinned))) [react/text-class (style/blockquote-text-style (and outgoing (not pinned))) - (.substring literal 0 (dec (.-length literal)))]]) + (.substring literal 0 (.-length literal))]]) "codeblock" (conj acc [react/view {:style style/codeblock-style}