lib/onebox/engine/html.rb in onebox-1.8.22 vs lib/onebox/engine/html.rb in onebox-1.8.23
- old
+ new
@@ -7,10 +7,10 @@
def http_params
{}
end
def raw
- @raw ||= Nokogiri::HTML(open(url, {read_timeout: timeout}.merge(http_params)).read)
+ @raw ||= Nokogiri::HTML(open(url, { read_timeout: timeout }.merge(http_params)).read)
end
def html?
raw.respond_to(:css)
end