From bd0ce09917e77661da5669157eb0704cc258c74d Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Thu, 21 Apr 2022 13:03:51 +0100 Subject: [PATCH] Remove unnecessary line break --- app/helpers/details_table_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/details_table_helper.rb b/app/helpers/details_table_helper.rb index 5f489d963..db569102d 100644 --- a/app/helpers/details_table_helper.rb +++ b/app/helpers/details_table_helper.rb @@ -1,7 +1,7 @@ module DetailsTableHelper def details_html(attribute) if attribute[:format] == :bullet - list = attribute[:value].map { |la| "
  • #{la}
  • " }.join("\n") + list = attribute[:value].map { |la| "
  • #{la}
  • " }.join simple_format(list, { class: "govuk-list govuk-list--bullet" }, wrapper_tag: "ul") else simple_format(attribute[:value].to_s, {}, wrapper_tag: "div")