mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Merge pull request #949 from okriuchykhin/ok_SCI_1951
Fix fetching protocol name in protocol import [SCI-1951]
This commit is contained in:
commit
37e4a26271
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ module ProtocolsExporter
|
||||||
protocol_xml = "<eln xmlns=\"http://www.scinote.net\" version=\"1.0\">\n"
|
protocol_xml = "<eln xmlns=\"http://www.scinote.net\" version=\"1.0\">\n"
|
||||||
protocol_xml << "<protocol id=\"#{protocol.id}\" " \
|
protocol_xml << "<protocol id=\"#{protocol.id}\" " \
|
||||||
"guid=\"#{get_guid(protocol.id)}\">\n"
|
"guid=\"#{get_guid(protocol.id)}\">\n"
|
||||||
protocol_xml << "<name><![CDATA[ #{protocol_name} ]]></name>\n"
|
protocol_xml << "<name>#{protocol_name}</name>\n"
|
||||||
protocol_xml << "<authors>#{protocol.authors}</authors>\n"
|
protocol_xml << "<authors>#{protocol.authors}</authors>\n"
|
||||||
protocol_xml << "<description>#{protocol.description}</description>\n"
|
protocol_xml << "<description>#{protocol.description}</description>\n"
|
||||||
protocol_xml << "<created_at>#{protocol.created_at.as_json}</created_at>\n"
|
protocol_xml << "<created_at>#{protocol.created_at.as_json}</created_at>\n"
|
||||||
|
|
Loading…
Reference in a new issue