refactor: internal ref uses [[uuid]] instead of ~^[[uuid]]

This commit is contained in:
Tienson Qin
2024-11-28 17:26:00 +08:00
parent e81ca25ad7
commit faf7f48860
17 changed files with 50 additions and 108 deletions

View File

@@ -825,7 +825,7 @@
;; ignore deadline related refs that don't affect content
(and (keyword? %) (db-malli-schema/internal-ident? %))))
(map #(add-uuid-to-page-map % page-names-to-uuids)))]
(db-content/refs->special-id-ref (:block/title block) refs {:replace-tag? false}))))
(db-content/title-ref->id-ref (:block/title block) refs {:replace-tag? false}))))
block)))
(defn- fix-pre-block-references