lib/wrongdoc/parse_xml.rb in wrongdoc-1.6.2 vs lib/wrongdoc/parse_xml.rb in wrongdoc-1.7.0

- old
+ new

@@ -1,11 +1,5 @@ module Wrongdoc::ParseXML def parse_xml(str) - opts = { - :input_encoding => 'utf8', - :output_encoding => 'utf8', - :wrap => 0, - :tidy_mark => false, - } - Nokogiri::XML(TidyFFI::Tidy.new(str, opts).clean) + Nokogiri::XML(str) end end