lib/nanoc/helpers/blogging.rb in nanoc-4.8.5 vs lib/nanoc/helpers/blogging.rb in nanoc-4.8.6
- old
+ new
@@ -50,10 +50,10 @@
validate_feed_item
validate_articles
end
def build
- buffer = String.new
+ buffer = +''
xml = Builder::XmlMarkup.new(target: buffer, indent: 2)
build_for_feed(xml)
buffer
end