<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>David's Computer Stuff Journal: Hpricot did something less than delightful</title>
    <link>http://journal.dedasys.com/articles/2007/09/03/hpricot-did-something-less-than-delightful</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Hpricot did something less than delightful</title>
      <description>&lt;p&gt;I have a Rails application that uses &lt;a href="http://code.whytheluckystiff.net/hpricot/"&gt;Hpricot&lt;/a&gt;, "a fast and delightful HTML parser" for Ruby.&lt;/p&gt;

&lt;p&gt;It seems, however, that this &lt;a href="http://code.whytheluckystiff.net/hpricot/changeset?old_path=%2F&amp;amp;old=139&amp;amp;new_path=%2F&amp;amp;new=139"&gt;change&lt;/a&gt; (the one in &lt;code&gt;xchar.rb&lt;/code&gt;, specifically), present in 0.6, but not 0.5 causes the &lt;code&gt;inner_text&lt;/code&gt; method to fail less than gracefully, spitting out a ? character instead of simply letting through the unescaped text.  I was depending on the latter behavior, so this change blew up my code.  It's a good thing I caught it before going to production.&lt;/p&gt;

&lt;p&gt;Other than that, I've been very happy with Hpricot, and it is indeed quite quick and useful.&lt;/p&gt;</description>
      <pubDate>Mon, 03 Sep 2007 05:52:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:e0e321b5-3205-496d-a9a3-24ea39e45524</guid>
      <author>David N. Welton</author>
      <link>http://journal.dedasys.com/articles/2007/09/03/hpricot-did-something-less-than-delightful</link>
      <category>ruby</category>
      <trackback:ping>http://journal.dedasys.com/articles/trackback/1806</trackback:ping>
    </item>
  </channel>
</rss>
