File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Available configuration options are:
5656 by ` SafeErbTester ` when determining whether or not a given attribute value will be eval'ed as javascript.
5757 Defaults to ` [/\Aon/i] ` (matches ` onclick ` for example).
5858* ` template_exclusion_filter ` : This is called when determining whether to apply runtime checks on a ` .erb ` template.
59- When this ` Proc ` returns false , no safety checks are applied and parsing is done using the default Rails erubi engine.
59+ When this ` Proc ` returns true , no safety checks are applied and parsing is done using the default Rails erubi engine.
6060 For example, to exclude erb templates provided by libraries, use: ` Proc.new { |filename| !filename.start_with?(Rails.root.to_s) } ` .
6161 Defaults to ` nil ` (all html.erb templates are parsed).
6262
You can’t perform that action at this time.
0 commit comments