diff --git a/app/utilities/protocols_exporter.rb b/app/utilities/protocols_exporter.rb index 1c05dfa02..94b87d3e2 100644 --- a/app/utilities/protocols_exporter.rb +++ b/app/utilities/protocols_exporter.rb @@ -116,10 +116,9 @@ module ProtocolsExporter if step.tables.count > 0 step_xml << "\n" step.tables.order(:id).each do |table| - table_xml = "\n" - table_xml << "#{table.contents.unpack1('H*')}" \ - "\n" + table_xml = "\n" + table_xml << "#{table.name}\n" + table_xml << "#{table.contents.unpack1('H*')}\n" table_xml << "\n" step_xml << table_xml end