Browse Source

bugfix: long was passed to pegdown instead of int

master
Christian Müller 11 years ago
parent
commit
92f4739ec0
  1. 2
      src/notehub/views.clj

2
src/notehub/views.clj

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
(def get-message (get-map "messages"))
(def md-processor
(PegDownProcessor. (bit-and-not Extensions/ALL Extensions/HARDWRAPS)))
(PegDownProcessor. (int (bit-and-not Extensions/ALL Extensions/HARDWRAPS))))
(defn md-to-html [md-text]
(.markdownToHtml md-processor md-text))

Loading…
Cancel
Save