Missing file

This commit is contained in:
erwanlr
2013-03-11 17:18:48 +01:00
parent 2043adb76e
commit 9b5ee28f04

10
lib/common/hacks.rb Normal file
View File

@@ -0,0 +1,10 @@
# encoding: UTF-8
# Default option changed from DEFAULT_XML to NOBLANKS
module Nokogiri
class << self
def XML thing, url = nil, encoding = nil, options = XML::ParseOptions::NOBLANKS, &block
Nokogiri::XML::Document.parse(thing, url, encoding, options, &block)
end
end
end