mirror of https://github.com/logseq/logseq
fix: don't add including-parent when using template
parent
bbbdb926fc
commit
6f788d7e6f
|
@ -220,7 +220,7 @@
|
|||
(let [new-level (+ new-level
|
||||
(- level template-parent-level
|
||||
(if (not including-parent?) 1 0)))
|
||||
properties' (dissoc (into {} properties) "id" "custom_id" "template")]
|
||||
properties' (dissoc (into {} properties) "id" "custom_id" "template" "including-parent")]
|
||||
(-> content
|
||||
(string/replace-first (apply str (repeat level pattern))
|
||||
(apply str (repeat new-level pattern)))
|
||||
|
|
Loading…
Reference in New Issue