From 582972f777b67b52a97f1bee30458e38a462a8c5 Mon Sep 17 00:00:00 2001 From: Nicolas Buduroi Date: Sun, 13 Nov 2011 19:15:57 -0500 Subject: [PATCH] Fixed section-to-html to correctly put code sections into the second cell. --- src/marginalia/html.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/marginalia/html.clj b/src/marginalia/html.clj index f64aae8..912b2b8 100644 --- a/src/marginalia/html.clj +++ b/src/marginalia/html.clj @@ -105,9 +105,9 @@ (if (= (:type section) :comment) (:raw section) (:docstring section)))] - [:td {:class "codes"}] (if (= (:type section) :code) + [:td {:class "codes"} (if (= (:type section) :code) (codes-to-html (:raw section)) - "")])) + "")]])) (defn dependencies-html [deps & header-name] (when-let [deps (seq deps)]