                                                                                                                          [:paragraph {:keep-together true}
                                                                                                                           [:phrase.bold (str (t :badge/Criteria ul)": ")] "\n"
                                                                                                                           [:anchor {:target (:criteria_url badge) :style{:family :times-roman :color [66 100 162]}} (:criteria_url badge)] "\n"
-                                                                                                                          (process-markdown "Criteria" (:criteria_content content))
+                                                                                                                          (process-markdown (:criteria_content content))
                                                                                                                           ]
                                                                                                                          ][:spacer 0]]))))
                                                                               [[:cell {:colspan 2}[:line {:dotted true}]]]))

            [clojure.zip :as zip]
            [salava.user.db :as ud]
            [net.cgrand.enlive-html :as enlive]
            [salava.badge.pdf :refer [process-markdown replace-nils]]
            ))

(defqueries "sql/page/main.sql")

                                                               (if (= "long" (:format %))
                                                                 (into [:table {:border false :widths [1 3] :keep-together? false}]
                                                                       (conj  (into [[[:cell {:colspan 2}]]] (for [badge (:badges %)
                                                                                                                   :let [b (pdf-generator-helper ctx user-id (list (:id badge)))
                                                                                                                         content (-> b first :content first)]]
                                                                                                               (when-not (empty? b)
                                                                                                                 (conj [[:cell {:align :left} (if (and (not (= "-" (:image_file badge))) (ends-with? (:image_file badge) "png")) [:image {:align :center :width 75 :height 75}(str data-dir "/" (:image_file badge))] [:image {:align :center :width 75 :height 75 :base64 true} (:qr_code (first b))])]]
