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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user