Skip to content

Commit

Permalink
Fix regression in displaying welcome doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed Dec 7, 2021
1 parent 8979ce7 commit 958103f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nextjournal/clerk/view.clj
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
(cond-> (into []
(mapcat (fn [{:as cell :keys [type text result doc]}]
(case type
:markdown [(v/md doc)]
:markdown [(v/md (or doc text))]
:code (let [{:keys [code? fold? result?]} (->display cell)]
(cond-> []
code?
Expand Down

0 comments on commit 958103f

Please sign in to comment.