We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
resolve_urls!
1 parent 5bcd404 commit ea16f68Copy full SHA for ea16f68
lib/indieweb/endpoints/parser.rb
@@ -51,7 +51,7 @@ def to_h
51
52
# @return [Nokogiri::HTML5::Document]
53
def body
54
- @body ||= Nokogiri::HTML5(response.body, response.uri).resolve_relative_urls!
+ @body ||= Nokogiri::HTML5(response.body, response.uri.to_s).resolve_urls!
55
end
56
57
# @return [Hash{Symbol => Array<LinkHeaderParser::LinkHeader>}]
0 commit comments