                                                                  [:phrase (str (t :badge/Criteria)": ")] [:spacer 0]
                                                                  [:anchor {:target (:criteria_url %) :style{:family :times-roman :color [66 100 162]}} (:criteria_url %)]]] " ")]]
                                                              ] " ")
+                                                            (if (= "html" (:type %))
+                                                              [:paragraph {:align :center}
+                                                               (:content %)] "")
 
                                                             [:spacer 0]])
 

                                                            [:line {:dotted true}]
                                                            [:spacer 2]
                                                            (if (= "heading"  (:type %))
                                                                 [:paragraph {:align :center}
                                                                   [:heading (:content %)]] " ")
                                                            (if (= "badge" (:type %))
                                                            [:pdf-table {:width-percent 100 :cell-border false }
                                                             [25 75]

                              ]
                         (reduce into [[:paragraph {:align :center} [:heading {:size :15 :align :center} $name][:spacer 0] [:paragraph {:align :center}
                                                             [:chunk (str $first_name " " $last_name)]]]] content)))]

    (dump page)
    (pdf/pdf (into [{:right-margin 50 :left-margin 50 }] (page-template page)) "out")

    ))

