diff options
author | aycabta <[email protected]> | 2020-04-01 05:18:54 +0900 |
---|---|---|
committer | aycabta <[email protected]> | 2020-05-24 23:47:24 +0900 |
commit | 32e0ff26e0ea5887a79cbf1ffd81513a4f392d76 (patch) | |
tree | b1699b917a4dcb9e7dbd0c053171b246ed482d34 /lib/rdoc/generator | |
parent | 7e7981c84f8cd3225b5e915cba2281869a08b784 (diff) |
[ruby/rdoc] Delegate ERB args correctly
https://github.com/ruby/rdoc/commit/82ff37a822
Diffstat (limited to 'lib/rdoc/generator')
-rw-r--r-- | lib/rdoc/generator/darkfish.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |