Move gp-util and gp-config to the common dep

This commit is contained in:
Tienson Qin
2024-01-03 16:38:05 +08:00
parent 46eacf6740
commit b7d9098e80
88 changed files with 498 additions and 505 deletions

View File

@@ -17,7 +17,7 @@
[frontend.template :as template]
[logseq.graph-parser.text :as text]
[logseq.graph-parser.util.page-ref :as page-ref]
[logseq.graph-parser.util :as gp-util]
[logseq.common.util :as common-util]
[frontend.util.text :as text-util]
[frontend.util :as util]
[frontend.config :as config]))
@@ -455,7 +455,7 @@ Some bindings in this fn:
(defonce tag-placeholder "~~~tag-placeholder~~~")
(defn pre-transform
[s]
(if (gp-util/wrapped-by-quotes? s)
(if (common-util/wrapped-by-quotes? s)
s
(let [quoted-page-ref (fn [matches]
(let [match' (string/replace (second matches) "#" tag-placeholder)]