Commit cb5b1568 authored by KitaitiMakoto's avatar KitaitiMakoto

[BUG FIX]Convert Set to Array before writing into XML

parent 54886959
......@@ -316,7 +316,7 @@ module EPUB
itemref_node = xml.itemref
to_xml_attribute itemref_node, itemref, [:idref, :id]
itemref_node['linear'] = 'no' unless itemref.linear?
itemref_node['properties'] = itemref.properties.join(' ') unless itemref.properties.empty?
itemref_node['properties'] = itemref.properties.to_a.join(' ') unless itemref.properties.empty?
end
}
to_xml_attribute node, self, [:id, :toc, :page_progression_direction]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment