lib/oddb2xml/cli.rb in oddb2xml-1.0.6 vs lib/oddb2xml/cli.rb in oddb2xml-1.0.7
- old
+ new
@@ -57,12 +57,13 @@
index[lang] = {} unless index[lang]
types.each do |type|
index[lang].merge!(@index[lang][type])
end
end
- builder.subject = sbj
- builder.index = index
- builder.items = @items
+ builder.subject = sbj
+ builder.index = index
+ builder.items = @items
+ builder.tag_suffix = @options[:tag_suffix]
end
xml = builder.to_xml
File.open(file, 'w:utf-8'){ |fh| fh << xml }
end
if @options[:compress]