From 3c55bc47524045e0c732126cb33f34afdb750499 Mon Sep 17 00:00:00 2001
From: ArtOfCode- <hello@artofcode.co.uk>
Date: Mon, 14 Dec 2020 01:59:44 +0000
Subject: [PATCH] Fix post type badge

---
 app/helpers/post_types_helper.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/helpers/post_types_helper.rb b/app/helpers/post_types_helper.rb
index 0351ce715..c7b03ce95 100644
--- a/app/helpers/post_types_helper.rb
+++ b/app/helpers/post_types_helper.rb
@@ -5,7 +5,8 @@ module PostTypesHelper
       'Article' => 'fas fa-newspaper'
     }[type]
     tag.span class: 'badge is-tag is-filled is-muted' do
-      "#{tag.i(class: icon_class)} #{tag.span(type)}"
+      tag.i(class: icon_class) + " " +
+      tag.span(type)
     end
   end
 end
-- 
GitLab