<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -49,9 +49,9 @@ module RspecHpricotMatchers
         if Nokogiri::XML::Document === input
           input
         elsif input.respond_to?(:body)
-          Nokogiri.parse(input.body)
+          Nokogiri::HTML(input.body)
         else
-          Nokogiri.parse(input.to_s)
+          Nokogiri::HTML(input.to_s)
         end
       end
 </diff>
      <filename>lib/rspec_hpricot_matchers/have_tag.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6c73baf1ac8e9503774b4dd3ed99531ce95ddfb4</id>
    </parent>
  </parents>
  <author>
    <name>Kyle Hargraves</name>
    <email>philodespotos@gmail.com</email>
  </author>
  <url>http://github.com/pd/rspec_hpricot_matchers/commit/1dea01f4cf51c4788920553112b957dce340427e</url>
  <id>1dea01f4cf51c4788920553112b957dce340427e</id>
  <committed-date>2009-06-09T20:49:29-07:00</committed-date>
  <authored-date>2008-11-29T00:31:21-08:00</authored-date>
  <message>force HTML for now

I have a number of specs that run against small chunks of HTML; since
nothing clearly identifies them as HTML, they were parsed as XML,
which resulted in all but the first parent tag being discarded.

Where I really want XML, I can construct the Document myself and all
will be well.</message>
  <tree>2acfd1f38d97ae795a745cd926f4750edba89948</tree>
  <committer>
    <name>Kyle Hargraves</name>
    <email>pd@krh.me</email>
  </committer>
</commit>
