From 129529937035c6e4c9c48de5bbef70371535c3e4 Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Fri, 30 Oct 2020 12:55:30 +0100 Subject: [PATCH] Fix SA in protocol description --- app/services/reports/docx/draw_my_module_protocol.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/services/reports/docx/draw_my_module_protocol.rb b/app/services/reports/docx/draw_my_module_protocol.rb index 881c79aa1..c03cc8970 100644 --- a/app/services/reports/docx/draw_my_module_protocol.rb +++ b/app/services/reports/docx/draw_my_module_protocol.rb @@ -11,7 +11,8 @@ module Reports::Docx::DrawMyModuleProtocol timestamp: I18n.l(protocol.created_at, format: :full) @docx.hr html = custom_auto_link(protocol.description, team: @report_team) - Reports::HtmlToWordConverter.new(@docx).html_to_word_converter(html) + Reports::HtmlToWordConverter.new(@docx, { scinote_url: @scinote_url, + link_style: @link_style }).html_to_word_converter(html) @docx.p @docx.p end