From a7aad50607ee953ba95e25bfcc729a48dd136a3f Mon Sep 17 00:00:00 2001 From: Ivan Kljun Date: Mon, 31 Jul 2023 11:00:59 +0200 Subject: [PATCH] Disable simple_format option for pdf report --- app/assets/stylesheets/reports.scss | 3 --- app/views/reports/elements/_step_checklist_element.html.erb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/assets/stylesheets/reports.scss b/app/assets/stylesheets/reports.scss index 225185487..9494b8e27 100644 --- a/app/assets/stylesheets/reports.scss +++ b/app/assets/stylesheets/reports.scss @@ -549,9 +549,6 @@ label { > div { margin-left: .7em; white-space: pre-wrap; - br { - display: none; /* This hides the
tag completely. */ - } } } diff --git a/app/views/reports/elements/_step_checklist_element.html.erb b/app/views/reports/elements/_step_checklist_element.html.erb index a3de34401..f4d625d1a 100644 --- a/app/views/reports/elements/_step_checklist_element.html.erb +++ b/app/views/reports/elements/_step_checklist_element.html.erb @@ -19,7 +19,7 @@
/>
<%= custom_auto_link(item.text, # Must be on one line team: current_team, - simple_format: true, + simple_format: false, wrapper_tag: { wrapper_tag: 'span'}, base64_encoded_imgs: export_all) %>