mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 07:26:15 +08:00
Merge pull request #4377 from okriuchykhin/ok_SCI_7126
Fix export of protocols with empty step text fields [SCI-7126]
This commit is contained in:
commit
8744286d98
|
@ -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