fix: some built-in tags shouldn't be recognized as inline tags

related to https://github.com/logseq/db-test/issues/555
This commit is contained in:
Tienson Qin
2025-11-05 02:39:23 +08:00
parent a3b2ac98f0
commit a4ec889a5d
9 changed files with 138 additions and 101 deletions

View File

@@ -64,7 +64,7 @@
(-> refs
remove-non-existed-refs!
(use-cached-refs! block))))))
title' (db-content/title-ref->id-ref (:block/title block) (:block/refs block))
title' (db-content/title-ref->id-ref (or (get block :block/title) title) (:block/refs block))
result (-> block
(merge (if level {:block/level level} {}))
(assoc :block/title title'))]