mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 23:25:31 +08:00
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:
commit
2549d9deeb
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue