lib/thermal/parser.rb in thermal-0.1.0 vs lib/thermal/parser.rb in thermal-0.1.1

- old
+ new

@@ -15,10 +15,10 @@ def traverse(fragment) fragment.map do |node| output = "" if node.class == Nokogiri::XML::Text - output << node.content + output << node.content.gsub("\n","") elsif node.class == Nokogiri::XML::Element output << @device.startCode(node.name) output << traverse(node.children) output << @device.endCode(node.name) end