Skip to content

Commit 7aab98a

Browse files
committed
Update docs for erb_trim_mode [ci-skip]
1 parent 82e33e4 commit 7aab98a

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
@@ -2014,7 +2014,7 @@ Accepts a logger conforming to the interface of Log4r or the default Ruby Logger
20142014
20152015
#### `config.action_view.erb_trim_mode`
20162016
2017-
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.
2017+
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.
20182018
20192019
#### `config.action_view.frozen_string_literal`
20202020

0 commit comments

Comments
 (0)