Skip to content

Commit

Permalink
Fix XML export #112
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Jan 7, 2016
1 parent e278f82 commit b2c371e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bibtex/entry/bibtexml_converter.rb
Expand Up @@ -25,7 +25,7 @@ def fields
field = REXML::Element.new("bibtex:#{key}")

if options[:extended] && value.name?
value.each { |n| entry.add_element(n.to_xml) }
value.each { |n| field.add_element(n.to_xml) }
else
field.text = value.to_s(options)
end
Expand Down

0 comments on commit b2c371e

Please sign in to comment.