Skip to content

Commit

Permalink
Merge pull request #51194 from Edouard-chin/backport-update-erb-trim-…
Browse files Browse the repository at this point in the history
…mode-docs

[Backport] Update docs for erb_trim_mode [ci-skip]
  • Loading branch information
rafaelfranca committed Feb 26, 2024
2 parents e5e470f + 86cc3ad commit eba905d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,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`

Expand Down

0 comments on commit eba905d

Please sign in to comment.