mirror of https://github.com/logseq/logseq
fix: no need to clean content for db graphs
parent
58fc4bca28
commit
cef72a1463
|
@ -1264,10 +1264,12 @@
|
|||
|
||||
(defn- clean-content!
|
||||
[repo format content]
|
||||
(->> (text/remove-level-spaces content format (config/get-block-pattern format))
|
||||
(if (config/db-based-graph? repo)
|
||||
content
|
||||
(some->> (text/remove-level-spaces content format (config/get-block-pattern format))
|
||||
(drawer/remove-logbook)
|
||||
(file-property/remove-properties-when-file-based repo format)
|
||||
string/trim))
|
||||
string/trim)))
|
||||
|
||||
(defn insert-command!
|
||||
[id command-output format {:keys [restore?]
|
||||
|
|
Loading…
Reference in New Issue