Module: Rails::DeprecatedSanitizer

Extended by:
DeprecatedSanitizer
Included in:
DeprecatedSanitizer
Defined in:
lib/rails/deprecated_sanitizer.rb,
lib/rails/deprecated_sanitizer/railtie.rb,
lib/rails/deprecated_sanitizer/version.rb

Defined Under Namespace

Classes: Railtie

Constant Summary collapse

VERSION =
"1.0.4"

Instance Method Summary collapse

Instance Method Details

#full_sanitizerObject



10
11
12
# File 'lib/rails/deprecated_sanitizer.rb', line 10

def full_sanitizer
  HTML::FullSanitizer
end


14
15
16
# File 'lib/rails/deprecated_sanitizer.rb', line 14

def link_sanitizer
  HTML::LinkSanitizer
end

#safe_list_sanitizerObject



22
23
24
# File 'lib/rails/deprecated_sanitizer.rb', line 22

def safe_list_sanitizer
  HTML::WhiteListSanitizer
end

#white_list_sanitizerObject



18
19
20
# File 'lib/rails/deprecated_sanitizer.rb', line 18

def white_list_sanitizer
  HTML::WhiteListSanitizer
end