Skip to content

Commit f73a784

Browse files
committed
Use unambigous qualified symbol for key
1 parent 2b33638 commit f73a784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/nextjournal/clerk/view.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
[nextjournal.clerk.viewer :as v])
88
(:import (java.net URI)))
99

10+
1011
(defn ^:private extract-hash->viewer [presentation]
1112
(into {}
12-
(map (juxt :hash identity))
13+
(map (juxt #(symbol "nextjournal.clerk" (str "viewer-fn$" (:hash %))) identity))
1314
(keep :nextjournal/viewer (tree-seq (some-fn map? vector?) #(cond-> % (map? %) vals) presentation))))
1415

1516
(defn doc->viewer

0 commit comments

Comments
 (0)