lib/approvals/writers/html_writer.rb in approvals-0.0.14 vs lib/approvals/writers/html_writer.rb in approvals-0.0.15
- old
+ new
@@ -5,10 +5,10 @@
def extension
'html'
end
def format(data)
- Nokogiri::XML(data.to_s.strip,&:noblanks).to_xhtml(:indent => 2, :encoding => 'UTF-8')
+ Nokogiri::HTML(data.to_s.strip,&:noblanks).to_xhtml(:indent => 2, :encoding => 'UTF-8')
end
end
end
end