From 92f4739ec09c3d76782a2c632bbcb3d11858c710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCller?= Date: Sun, 26 Oct 2014 13:15:39 +0100 Subject: [PATCH] bugfix: long was passed to pegdown instead of int --- src/notehub/views.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notehub/views.clj b/src/notehub/views.clj index 11fd420..3636db4 100644 --- a/src/notehub/views.clj +++ b/src/notehub/views.clj @@ -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))