# File lib/action_dispatch/testing/assertions/tag.rb, line 132
      def html_document
        xml = @response.content_type =~ /xml$/
        @html_document ||= HTML::Document.new(@response.body, false, xml)
      end