diff --git a/app/helpers/post_types_helper.rb b/app/helpers/post_types_helper.rb index 0351ce7159371c48fa37515d6181c079fa648ad0..c7b03ce9550fd4c17f1b3c78d5a9856b1f2c5568 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