diff --git a/app/views/katello/hosts/_errata_counts.html.erb b/app/views/katello/hosts/_errata_counts.html.erb
index acc1c2d67ff..ef643c42dd3 100644
--- a/app/views/katello/hosts/_errata_counts.html.erb
+++ b/app/views/katello/hosts/_errata_counts.html.erb
@@ -27,7 +27,7 @@
<% if !host.operatingsystem_name&.match(/Debian|Ubuntu/) %>
<% if Setting["host_details_ui"] %>
-
+
<% else %>
<% end %>
@@ -43,7 +43,7 @@
<% end %>
<% if host.operatingsystem_name&.match(/Debian|Ubuntu/) %>
<% if Setting["host_details_ui"] %>
-
+
<% else %>
<% end %>