Merge pull request #2929 from urbanrotnik/ur-sci-5147-generate-word-with-included-smart

Fix SA in protocol description [SCI-5147]
This commit is contained in:
Urban Rotnik 2020-11-02 09:55:40 +01:00 committed by GitHub
commit 2549d9deeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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