Fix #4657: Hentai-Foundry: Document tree depth limit exceeded.
This commit is contained in:
@@ -5,7 +5,7 @@ module Danbooru
|
||||
HTTP::MimeType.register_alias "text/html", :html
|
||||
|
||||
def decode(str)
|
||||
Nokogiri::HTML5(str)
|
||||
Nokogiri::HTML5(str, max_tree_depth: -1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user