lib/establish/app_metadata.rb in establish-0.0.30 vs lib/establish/app_metadata.rb in establish-0.0.31
- old
+ new
@@ -47,10 +47,11 @@
field.children.remove # remove old keywords
node_set = Nokogiri::XML::NodeSet.new(@data)
keywords.each do |word|
- keyword = Nokogiri::XML::Node.new('Keyord', @data)
+ keyword = Nokogiri::XML::Node.new('Keyword', @data)
+ keyword.content = word
node_set << keywrod
end
field.children = node_set
end
\ No newline at end of file