From 32e0ff26e0ea5887a79cbf1ffd81513a4f392d76 Mon Sep 17 00:00:00 2001 From: aycabta Date: Wed, 1 Apr 2020 05:18:54 +0900 Subject: [ruby/rdoc] Delegate ERB args correctly https://github.com/ruby/rdoc/commit/82ff37a822 --- lib/rdoc/generator/darkfish.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rdoc/generator') diff --git a/lib/rdoc/generator/darkfish.rb b/lib/rdoc/generator/darkfish.rb index c5d47ef355..5049aa452e 100644 --- a/lib/rdoc/generator/darkfish.rb +++ b/lib/rdoc/generator/darkfish.rb @@ -779,9 +779,9 @@ class RDoc::Generator::Darkfish end if RUBY_VERSION >= '2.6' - template = klass.new template, trim_mode: '<>', eoutvar: erbout + template = klass.new template, trim_mode: '-', eoutvar: erbout else - template = klass.new template, nil, '<>', erbout + template = klass.new template, nil, '-', erbout end @template_cache[file] = template template -- cgit v1.2.3