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")