Module: Rails::DeprecatedSanitizer

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

Constant Summary collapse

VERSION =
"1.0.5"

Instance Method Summary collapse

Instance Method Details

#full_sanitizerObject



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

def full_sanitizer
  HTMLDeprecated::FullSanitizer
end


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

def link_sanitizer
  HTMLDeprecated::LinkSanitizer
end

#safe_list_sanitizerObject



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

def safe_list_sanitizer
  HTMLDeprecated::WhiteListSanitizer
end

#white_list_sanitizerObject



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

def white_list_sanitizer
  HTMLDeprecated::WhiteListSanitizer
end