mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
Another test and address review feedback that shouldn't be controversial
- Added test for 71514ab36c
- Also removed dependency that is no longer used
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
(map (fn [tag] {:block/name (gp-util/page-name-sanity-lc tag)
|
||||
:block/original-name tag})
|
||||
tags))))]
|
||||
(update result :block/properties #(dissoc % :tags :alias))))
|
||||
(update result :block/properties #(apply dissoc % gp-property/editable-linkable-built-in-properties))))
|
||||
|
||||
(defn- build-page-map
|
||||
[properties invalid-properties file page page-name {:keys [date-formatter db from-page]}]
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
[goog.string :as gstring]
|
||||
[clojure.string :as string]
|
||||
[clojure.set :as set]
|
||||
[logseq.graph-parser.property :as gp-property]
|
||||
[logseq.graph-parser.mldoc :as gp-mldoc]
|
||||
[logseq.graph-parser.util :as gp-util]
|
||||
[logseq.graph-parser.util.page-ref :as page-ref]))
|
||||
@@ -135,9 +136,8 @@
|
||||
(defn separated-by-commas?
|
||||
[config-state k]
|
||||
(let [k' (if (keyword? k) k (keyword k))]
|
||||
(contains? (set/union #{:alias :tags}
|
||||
(set (get config-state :property/separated-by-commas))
|
||||
(set (:property/separated-by-commas config-state)))
|
||||
(contains? (set/union gp-property/editable-linkable-built-in-properties
|
||||
(set (get config-state :property/separated-by-commas)))
|
||||
k')))
|
||||
|
||||
(defn parse-property
|
||||
|
||||
Reference in New Issue
Block a user