Wrapped element to search in NodeSet. Changed selectors to selector.
Reworked the wrapping root in NodeSet implementation in css_select.
Updated documentation to state more things about css selectors with substitution values.
Removed mention of css_select supporting substitution values. It is not tested anywhere.
Fixed: assert_select_encoded finds the right content. No longer uses a <encoded> wrapper. Updated tests to reflect this.
Moved Dom and Selector assertions from ActionDispatch to ActionView.
Removed require for active_support/core_ext/object/inclusion since in? isn't used anywhere.
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.