fix(editor): do not wrap space when pasting <code>

pull/7395/head^2
Andelf 2022-11-23 10:32:59 +08:00 committed by Tienson Qin
parent f045875460
commit 27fbd338de
1 changed files with 1 additions and 3 deletions

View File

@ -170,9 +170,7 @@
(string? (first children))
(let [pattern (config/get-code format)]
(str " "
pattern (map-join children) pattern
" "))
(str pattern (map-join children) pattern))
;; skip monospace style, since it has more complex children
:else