hpricot/hpricot — pull request #58 by ocher (2011-11-28 19:51:23+00:00)
Title: Fix 'undefined method `downcase' for nil:NilClass' on JRuby

Bug in the title (described in Issue #8) was introduced, at least in case of JRuby, after allowing escaping quote characters in attributes (Issue #50 by Masamitsu MURASE).
Some pages cause such exception. This pull request fixes it, without removing escaped quotes in attributes.