Class: Rails::HTML5::Sanitizer

Inherits:
Object
  • Object
show all
Defined in:
lib/rails/html/sanitizer.rb

Class Method Summary collapse

Class Method Details

.full_sanitizerObject



309
310
311
# File 'lib/rails/html/sanitizer.rb', line 309

def full_sanitizer
  Rails::HTML5::FullSanitizer
end


313
314
315
# File 'lib/rails/html/sanitizer.rb', line 313

def link_sanitizer
  Rails::HTML5::LinkSanitizer
end

.safe_list_sanitizerObject



317
318
319
# File 'lib/rails/html/sanitizer.rb', line 317

def safe_list_sanitizer
  Rails::HTML5::SafeListSanitizer
end

.white_list_sanitizerObject

:nodoc:



321
322
323
# File 'lib/rails/html/sanitizer.rb', line 321

def white_list_sanitizer # :nodoc:
  safe_list_sanitizer
end