[#9480] Fix cutting of the last char in blockquote

This commit is contained in:
Roman Volosovskyi 2022-02-08 15:26:08 +02:00
parent f0302e7cbf
commit d5c865d092
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -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}