nokogiri: switch to the nokogumbo-based html5 parser.

https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md#1120--2021-08-02
This commit is contained in:
evazion
2021-08-30 21:21:03 -05:00
parent 49d18e64e8
commit 38c9559fe8
3 changed files with 7 additions and 7 deletions

View File

@@ -183,7 +183,7 @@ module Sources::Strategies
end
def inline_images
html = Nokogiri::HTML.fragment(artist_commentary_desc)
html = Nokogiri::HTML5.fragment(artist_commentary_desc)
html.css("img").map { |node| node["src"] }
end