diff options
-rw-r--r-- | actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb index 9e573b14ca..43826f5e60 100644 --- a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb +++ b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb @@ -45,6 +45,7 @@ class PermitScrubber < Loofah::Scrubber attr_reader :tags, :attributes def initialize + @direction = :bottom_up @tags, @attributes = nil, nil end |