Removed copyright notice since we aren't relying on html-scanner anymore.
Marked test_feed_xhtml as pending. See description in the test.
Require ActionView::Assertions in ActionController test_case.rb.
Added correct requires in html-scanner tests. Sanitizers are not based on html-scanner anymore, so sanitizer_test.rb is removed.
Changed explanation for no duck typing of custom scrubbers.
Refactored remove_xpaths to use duck typing and read better.
Extracted the common xpaths to remove into XPATHS_TO_REMOVE.
Changed FullSanitizer sanitize to use tap method instead of temporary variable.
Added LinkScrubber to remove duplication in LinkSanitizer. As such made PermitScrubber easier to subclass.
Already killed off LinkScrubber. Changed it instead to be TargetScrubber, which is more general, while still allowing maximum code reuse.
Changed PermitScrubbers documentation to list override points for subclasses. Renamed should_remove_attributes? to should_scrub_attributes?.
Changed PermitScrubber to be even more extensible. Updated TargetScrubber to be compliant. Updated documentation for PermitScrubber and TargetScrubber for clarity.
Refactored scrub to keep_node? instead of scrub_node calling it. Also added ability to stop traversing by returning STOP from scrub_node.
Initialized tags and attributes to nil.
Fixed: spelling error.
Reworked documentation for PermitScrubber and TargetScrubber.
Removed :nodoc: from PermitScrubber.
Trimmed deprecation message for ActionDispatch::Assertions::SelectorAssertions.
Moved Action Pack changelog message to Action View. Clarified Dom and Selector assertions changes in there.
Added related Nokogiri issue link to tests that fail with unknown encoding ASCII-8BIT.