mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: do not save pretty print results
This commit is contained in:
@@ -138,8 +138,8 @@
|
||||
file-path (-> (db-utils/entity file-db-id) :file/path)]
|
||||
(if (and (string? file-path) (not-empty file-path))
|
||||
(let [new-content (if (:block/whiteboard? page-block)
|
||||
(util/pp-str {:blocks (map remove-transit-ids tree)
|
||||
:pages (list (remove-transit-ids page-block))})
|
||||
(pr-str {:blocks (map remove-transit-ids tree)
|
||||
:pages (list (remove-transit-ids page-block))})
|
||||
(tree->file-content tree {:init-level init-level}))
|
||||
files [[file-path new-content]]
|
||||
repo (state/get-current-repo)]
|
||||
|
||||
Reference in New Issue
Block a user