mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
allow page's block/content to be it's original name
This commit is contained in:
@@ -90,6 +90,7 @@ and handles unexpected failure."
|
||||
:or {with-id? true}}]
|
||||
(when-not (string/blank? content)
|
||||
(let [block (dissoc block :block/pre-block?)
|
||||
format (or format :markdown)
|
||||
ast (format/to-edn content format nil)
|
||||
blocks (extract-blocks ast content format {:with-id? with-id?})
|
||||
new-block (first blocks)
|
||||
|
||||
Reference in New Issue
Block a user