diff --git a/app/models/identifier.rb b/app/models/identifier.rb index 705e61cf8..59e662f8e 100644 --- a/app/models/identifier.rb +++ b/app/models/identifier.rb @@ -257,7 +257,7 @@ def file_template template_path = File.join(Rails.root, %w[data templates], "#{self.class.to_s.underscore}.xml.erb") - template = ERB.new(File.new(template_path).read, nil, '-') + template = ERB.new(File.new(template_path).read, trim_mode: '-') id = id_attribute n = n_attribute