fix: remove level and spaces when rendering block's content

This commit is contained in:
Tienson Qin
2021-03-31 18:56:45 +08:00
parent 1b891c144f
commit 4665a2819b

View File

@@ -379,6 +379,7 @@
content (if (and (seq properties) (text/properties-hidden? properties))
(text/remove-properties! content)
content)
content (text/remove-level-spaces content format true)
content-length (count content)
text-range (cond
(and (> tail-len 0) (>= (count content) tail-len))