       [:thead
         [:tr
           [:th {:style (str bar-td-style bar-th-style "min-width: 60px;")}
-            (-> cols first :display_name upper-case)]
+            (-> cols first :display_name upper-case h)]
           [:th {:style (str bar-td-style bar-th-style "min-width: 60px;")}
-            (-> cols second :display_name upper-case)]
+            (-> cols second :display_name upper-case h)]
           (if bar-column [:th {:style (str bar-td-style bar-th-style "width: 99%;")}])]]
       [:tbody
         (map-indexed #(render-table-row %1 %2 bar-column max-value) rows)]]))
 
 (defn render-bar-chart
   [data]
-  [:div {:style ""}
+  [:div
     (render-table data second)])
 
 (defn render-scalar
   [data]
   [:div {:style scalar-style}
-    (-> data :rows first first format-cell)])
+    (-> data :rows first first format-cell h)])
 
 (def ^:private sparkline-dot-radius 6)
 (def ^:private sparkline-thickness 4)

            (metabase.models [setting :refer [defsetting] :as setting])
            [metabase.util :as u]))

;;; ## CONFIG

(defsetting slack-token "Slack API bearer token obtained from https://api.slack.com/web#authentication")

(defn render-table-row
  [index row bar-column max-value]
  [:tr {:style (if (odd? index) "color: rgb(189,193,191);" "color: rgb(124,131,129);")}
    [:td {:style bar-td-style} (-> row first format-cell h)]
    [:td {:style (str bar-td-style "font-weight: 700;")} (-> row second format-cell h)]
    (if bar-column [:td {:style (str bar-td-style "width: 99%;")}
      [:div {:style (str "background-color: rgb(135, 93, 175); height: 20px; width: " (float (* 100 (/ (bar-column row) max-value))) "%")} "&#160;"]])])

