mirror of https://github.com/logseq/logseq
parent
98116d0116
commit
da80086e48
|
@ -1351,7 +1351,8 @@
|
|||
(if (= k :tags)
|
||||
(let [tag (-> item
|
||||
(string/replace "[" "")
|
||||
(string/replace "]" ""))]
|
||||
(string/replace "]" "")
|
||||
(string/replace "#" ""))]
|
||||
[:a.tag.mr-1 {:href (str "/page/" tag)}
|
||||
tag])
|
||||
[:span item]))
|
||||
|
|
|
@ -782,6 +782,7 @@
|
|||
(let [tag (-> (string/trim tag)
|
||||
(string/lower-case)
|
||||
(string/replace #"\s+" "-")
|
||||
(string/replace #"#" "")
|
||||
(string/replace "[" "")
|
||||
(string/replace "]" ""))]
|
||||
(if (tag-valid? tag)
|
||||
|
|
Loading…
Reference in New Issue