Skip to content

Commit

Permalink
Pass extractAllScripts to documentLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jul 2, 2024
1 parent 3e95e23 commit ea02d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/json/ld/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def self.loadRemoteDocument(url,
options[:headers]['Accept'].sub('application/ld+json,',
"application/ld+json;profile=#{requestProfile}, application/ld+json;q=0.9,")
end
documentLoader.call(url, **options) do |remote_doc|
documentLoader.call(url, extractAllScripts: extractAllScripts, **options) do |remote_doc|
case remote_doc
when RDF::Util::File::RemoteDocument
# Convert to RemoteDocument
Expand Down

0 comments on commit ea02d42

Please sign in to comment.