fix: use '\t' when copy

This commit is contained in:
rcmerci
2021-06-18 13:53:34 +08:00
parent 1b12cffa9b
commit 681a34fa18

View File

@@ -1005,7 +1005,7 @@
(mapv (fn [block]
(let [header
(if (= format :markdown)
(str (string/join (repeat (- (:level block) 1) " ")) "-")
(str (string/join (repeat (- (:level block) 1) "\t")) "-")
(string/join (repeat (:level block) "*")))]
(str header " " (:block/content block) "\n")))
level-blocks)