From a98e2681956693f8f945d13862de02743ad5cd14 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 5 Jan 2020 13:12:01 -0500 Subject: [PATCH] use iolist --- lib/philomena_web/views/stat_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/views/stat_view.ex b/lib/philomena_web/views/stat_view.ex index 4bdd8d53..e550805a 100644 --- a/lib/philomena_web/views/stat_view.ex +++ b/lib/philomena_web/views/stat_view.ex @@ -24,7 +24,7 @@ defmodule PhilomenaWeb.StatView do height = bar_height content_tag :rect, width: bar_width, height: height, x: x, y: y, fill: "#000" do - content_tag :title, "#{datum["key_as_string"]} - #{datum["doc_count"]} uploads" + content_tag :title, do: [datum["key_as_string"], " - ", Integer.to_string(datum["doc_count"]), " uploads"] end end end