Readded some documentation about substitution values.
Added implementation for substitution values via Nokogiri's custom pseudo classes.
Fixed nested assert_select bug. Trying to create a full document for a nested call that already had a document.
Added a proper substitution context class. Changed ArgumentFilter to be a selector. It is now called HTMLSelector.
Changed css_select to not count on multiple selectors. Fixed bug in determine_root_from where @selected was an Array. Changed assert_select_encoded to use a fragment instead of a document.
Changed test methods to use new substitution syntax more in line with css selectors.
Fixed bug by switching to Loofah fragment instead of document.
Changed xml_namespace test to correct syntax. However, Nokogiri won't recognize the namespace.
Changed html_document to use fragments. Changed response_from_page to be an alias of html_document.
Added NodeSet comparison to possible root element in determine_root_from.
Fixed: now only compares html of children in filter_matches.
Simplified assert_select further by moving match filtering into HTMLSelector select.
Cleaned up SubstitutionContext class.
Fixed: inadvertently called message method in MiniTest instead of selector.message.
Fixed: test_nested_assert_select selects from elements instead of elements[0] and elements[1].
Added test case for non-comment. Removed pending assertion that passed.
add_regex returns inspected value for non Regexp objects. Workaround, so users don't have to care about enclosing values in double quotes.
Reverted to using documents instead of document fragments, since searching via default xml namespaces didn't work.
Fixed: no longer wrapped @selected in fragment, since .css works fine without it.
Returning from filter if matches are empty.