Do not try to write timestamps if they are missing #8813
Added Loofah as a dependency in actionview.gemspec.
Implemented ActionView: FullSanitizer, LinkSanitizer and WhiteListSanitizer in sanitizers.rb.
Deprecated protocol_separator and bad_tags.
Added new tests in sanitizers_test.rb and reimplemented assert_dom_equal with Loofah.
Removed duplication in the deprecated methods.
Added PermitScrubber which allows you to permit elements for sanitization.
Reordered form removal with stripping.
Removed the contains_bad_protocols? method as well as the tests for it. Loofah already deals with this.
Changed expected value from '<b>' to empty string.
bad_tags include form since we remove it. Also to prevent a should_allow_form_tag test creation.
Added guard clauses to FullSanitizer.
Extracted failing tests in santiizers_test.rb into their own methods and marked them as pending.
Added video poster sanitization testing (from @vipulnsward).
Renamed the SanitizerTest class to SanitersTest, to remove the conflict with the old SanitizerTest for html-scanner.
Added removal of script tags to WhiteListSanitizer.
Extracted the xpath removals into some new API that allows users to remove xpath subtrees.
Added comment removal. Changed definitation of remove_xpaths to not use a splat operator.
Extracted one highlight test method and marked it as pending.
Changed the description of some pending tests. Changed the expected output of a script test.
Added ActionView::Sanitizer and moved remove_xpaths to there.
Added some tests for ActionView::Sanitizer.
Marked some tests as pending in date_helper_test.rb.