Skip to content

Commit da2dbbb

Browse files
authored
Merge pull request rails#50157 from Earlopain/update-erb-trim-mode-docs
Update docs for `erb_trim_mode`
2 parents 9b94685 + 7aab98a commit da2dbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/configuring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ Accepts a logger conforming to the interface of Log4r or the default Ruby Logger
20262026
20272027
#### `config.action_view.erb_trim_mode`
20282028
2029-
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.
2029+
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.
20302030
20312031
#### `config.action_view.frozen_string_literal`
20322032

0 commit comments

Comments
 (0)