mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
Move gp-util and gp-config to the common dep
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
[lambdaisland.glogi :as log]
|
||||
[cljs-bean.core :as bean]
|
||||
[frontend.util :as util]
|
||||
[logseq.graph-parser.util :as gp-util]
|
||||
[logseq.common.util :as common-util]
|
||||
[frontend.util.text :as text-util]))
|
||||
|
||||
(defn diff
|
||||
@@ -55,7 +55,7 @@
|
||||
(+ pos 2)
|
||||
|
||||
(contains? inline-special-chars (util/nth-safe markup pos))
|
||||
(let [matched (->> (take-while inline-special-chars (gp-util/safe-subs markup pos))
|
||||
(let [matched (->> (take-while inline-special-chars (common-util/safe-subs markup pos))
|
||||
(apply str))
|
||||
matched? (and current-line (string/includes? current-line (string/reverse matched)))]
|
||||
(if matched?
|
||||
|
||||
Reference in New Issue
Block a user