mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-25 09:13:02 +08:00
Fix export of protocols with empty step text fields [SCI-7126]
This commit is contained in:
parent
c2242b6cc8
commit
3d00249644
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ module ProtocolsExporterV2
|
|||
"<!--[CDATA[ #{Nokogiri::HTML::DocumentFragment.parse(step_text.text)} ]]-->"\
|
||||
"</contents>\n"
|
||||
|
||||
xml << get_tiny_mce_assets(step_text.text)
|
||||
xml << get_tiny_mce_assets(step_text.text) if step_text.text.present?
|
||||
|
||||
xml << "</stepText>\n"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue