From 47535407f2a43d3d996e9f698fb85bf39b53ad63 Mon Sep 17 00:00:00 2001 From: Lukas Krause Date: Fri, 6 Aug 2021 12:19:07 +0200 Subject: [PATCH] Rename Nokogiri::HTML module to Nokogiri::HTML4 Starting version 1.20.0 the module name changed and the old name is aliased to preserve backwards-compatibility. This might be deprecated in future versions, so better change it right away. See https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md#1120--2021-08-02 --- src/api/test/functional/webui/spider_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/test/functional/webui/spider_test.rb b/src/api/test/functional/webui/spider_test.rb index c166cf81c9b..61ca170ade9 100644 --- a/src/api/test/functional/webui/spider_test.rb +++ b/src/api/test/functional/webui/spider_test.rb @@ -111,7 +111,7 @@ def crawl end body = nil begin - body = Nokogiri::HTML::Document.parse(page.source).root + body = Nokogiri::HTML4::Document.parse(page.source).root rescue Nokogiri::XML::SyntaxError # puts "HARDCORE!! #{theone}" end