diff --git a/lib/json/ld/api.rb b/lib/json/ld/api.rb index 410207c..144e499 100644 --- a/lib/json/ld/api.rb +++ b/lib/json/ld/api.rb @@ -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