                                                                                                                (when-not (blank? (str (:rating more-badge-info)))
                                                                                                                  [:phrase
                                                                                                                   [:chunk.chunk (str (t :badge/Badgerating ul) ": ") ] [:chunk (str (:rating more-badge-info) "  ")]])
-                                                                                                               (when-not (blank? (:evidence_url more-badge-info))
+                                                                                                               (when-not (blank? (str (:evidence_url more-badge-info)))
                                                                                                                  [:phrase
                                                                                                                   [:chunk.chunk (str (t :badge/Evidenceurl ul) ": ")] [:chunk (str (:evidence_url more-badge-info) " ")]]"\n"
                                                                                                                  )

                                                                                 template #(cons [:paragraph][[:paragraph
                                                                                                               [:chunk.chunk (str (t :badge/BadgeID ul) ": ")][:chunk (str (or (:badge_id b ) "-"))]"\n"
                                                                                                               [:chunk.chunk (str (t :badge/Name ul) ": ") ][:chunk (or (:name %) "-")]"\n"
                                                                                                               (when-not (blank? (:description %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :page/Description ul) ": ")][:chunk (str (:description %))]"\n"])
                                                                                                               (when-not (blank? (:image_file %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Imagefile ul) ": ")][:chunk (str site-url "/"(:image_file %))]"\n"])
                                                                                                               (when-not (blank? (:issuer_content_name %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Issuedby ul) ": ")] [:chunk (str (:issuer_content_name %)"  ")]])
                                                                                                               (when-not (blank? (:issuer_content_url %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Issuerurl ul) ": ")][:chunk (str (:issuer_content_url %))]"\n"])
                                                                                                               (when-not (blank? (:issuer_contact %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Issuercontact ul) ": ")] [:chunk (str (:issuer_contact %))]"\n"])
                                                                                                               (when-not (blank? (:creator_name %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Createdby ul) ": ")][:chunk (str (:creator_name %))]"\n"])
                                                                                                               (when-not (blank? (:creator_url %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Creatorurl ul) ": ")][:chunk (str (:creator_url %))]"\n"])
                                                                                                               (when-not (blank? (:creator_email %))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Creatorcontact ul) ": ")][:chunk (str (:creator_email %))]"\n"])
                                                                                                               (when-not (blank? (str (:criteria_url %)))

                                                                                                               (when-not (blank? (str (:revoked b)))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Revoked ul) ": ")] [:chunk (str (if (true? (:revoked b)) (t :core/Yes ul) (t :core/No ul)) "  ")]])
                                                                                                               (when-not (blank? (str (:visibility b)))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Badgevisibility ul) ": ")] [:chunk (t (keyword (str "core/" (capitalize (:visibility b)))) ul)]"\n"])

                                                                                                               (when-not (blank? (str (:obf_url b)))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/OBFurl ul) ": ")] [:chunk (:obf_url b)]"\n"])
                                                                                                               (when-not (blank? (str (:assertion_url more-badge-info)))
                                                                                                                 [:phrase
                                                                                                                  [:chunk.chunk (str (t :badge/Assertionurl ul) ": ")] [:chunk.link (str (:assertion_url more-badge-info))]"\n"])
                                                                                                               (when-not (blank? (str (:assertion_json more-badge-info)))
