lib/roadie/markup_improver.rb in roadie-3.0.0.pre1 vs lib/roadie/markup_improver.rb in roadie-3.0.0
- old
+ new
@@ -72,10 +72,10 @@
end
end
def content_type_meta_element_missing?
dom.xpath('html/head/meta').none? do |meta|
- meta['http-equiv'].downcase == 'content-type'
+ meta['http-equiv'].to_s.downcase == 'content-type'
end
end
def make_content_type_element
meta = Nokogiri::XML::Node.new('meta', dom)