summaryrefslogtreecommitdiff
path: root/lib/banzai/reference_extractor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/banzai/reference_extractor.rb')
-rw-r--r--lib/banzai/reference_extractor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/banzai/reference_extractor.rb b/lib/banzai/reference_extractor.rb
index 7e6357f8a00..78588299c18 100644
--- a/lib/banzai/reference_extractor.rb
+++ b/lib/banzai/reference_extractor.rb
@@ -10,8 +10,8 @@ module Banzai
end
def references(type, project, current_user = nil)
- processor = Banzai::ReferenceParser[type]
- .new(project, current_user)
+ context = RenderContext.new(project, current_user)
+ processor = Banzai::ReferenceParser[type].new(context)
processor.process(html_documents)
end