bugfix: long was passed to pegdown instead of int

This commit is contained in:
Christian Müller
2014-10-26 13:15:39 +01:00
parent 4391a7f28d
commit 92f4739ec0
+1 -1
View File
@@ -12,7 +12,7 @@
(def get-message (get-map "messages")) (def get-message (get-map "messages"))
(def md-processor (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] (defn md-to-html [md-text]
(.markdownToHtml md-processor md-text)) (.markdownToHtml md-processor md-text))