Update docs for erb_trim_mode [ci-skip]

This commit is contained in:
Earlopain 2023-11-24 12:54:34 +01:00
parent 82e33e44bf
commit 7aab98a16e
No known key found for this signature in database
GPG Key ID: 298A57787DC6EF08
1 changed files with 1 additions and 1 deletions

View File

@ -2014,7 +2014,7 @@ Accepts a logger conforming to the interface of Log4r or the default Ruby Logger
#### `config.action_view.erb_trim_mode`
Gives the trim mode to be used by ERB. It defaults to `'-'`, which turns on trimming of tail spaces and newline when using `<%= -%>` or `<%= =%>`. See the [Erubis documentation](http://www.kuwata-lab.com/erubis/users-guide.06.html#topics-trimspaces) for more information.
Controls if certain ERB syntax should trim. It defaults to `'-'`, which turns on trimming of tail spaces and newline when using `<%= -%>` or `<%= =%>`. Setting this to anything else will turn off trimming support.
#### `config.action_view.frozen_string_literal`