Tienson Qin před 2 roky
rodič
revize
a2d1f67c5d

+ 1 - 1
src/main/frontend/modules/outliner/datascript.cljc

@@ -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 (block-ref/->block-ref (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)]