Fix SA in protocol description

This commit is contained in:
Urban Rotnik 2020-10-30 12:55:30 +01:00
parent e923128c0e
commit 1295299370

View file

@ -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