frontend.text conversion WIP

Removed extract-level-spaces b/c it's not used
This commit is contained in:
Gabriel Horner
2022-05-06 17:12:11 -04:00
parent 67461aaede
commit f529777d78
6 changed files with 19 additions and 39 deletions

View File

@@ -425,7 +425,7 @@
(utf8/substring utf8-content
(:start_pos meta)))
content (when content
(let [content (text/remove-level-spaces content format)]
(let [content (text/remove-level-spaces content format (config/get-block-pattern format))]
(if (or (:pre-block? block)
(= (:format block) :org))
content