mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
Update src/main/frontend/modules/outliner/datascript.cljc
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
new-content (-> (:block/content ref)
|
||||
(string/replace (re-pattern (util/format "(?i){{embed \\(\\(%s\\)\\)\\s?}}" (str (:block/uuid block))))
|
||||
block-content)
|
||||
(string/replace (util/format "((%s))" (str (:block/uuid block)))
|
||||
(string/replace (block-ref/->block-ref (str (:block/uuid block))))
|
||||
block-content))]
|
||||
{:tx [[:db/retract (:db/id ref) :block/refs (:db/id block)]
|
||||
[:db/retract (:db/id ref) :block/path-refs (:db/id block)]
|
||||
|
||||
Reference in New Issue
Block a user