diff --git a/app/domain/factories/renderer.rb b/app/domain/factories/renderer.rb index 6e77d6c8df..f5fd3cf9a5 100644 --- a/app/domain/factories/renderer.rb +++ b/app/domain/factories/renderer.rb @@ -9,7 +9,7 @@ def initialize(render_engine: ERB) end def render(template:, variables:) - @success.new(@render_engine.new(template, nil, '-').result_with_hash(variables)) + @success.new(@render_engine.new(template, trim_mode: '-').result_with_hash(variables)) # If variable in template is missing from variable list rescue NameError => e