fix: get page references (trim)

This commit is contained in:
Tienson Qin
2020-11-07 15:16:16 +08:00
parent e53d4cdd47
commit 32e398a087

View File

@@ -56,7 +56,9 @@
(subs (first arguments) 2 (- (count (first arguments)) 2))))
:else
nil)]
(when-not (string/blank? page)
(when (and
(string? page)
(not (string/blank? page)))
(string/trim page))))
(defn get-block-reference