html_unescape (WWW::Mechanize::Util)

    # File lib/www/mechanize/util.rb, line 46
            def html_unescape(s)
              return s unless s
              s.gsub(/&(\w+|#[0-9]+);/) { |match|
                number = case match
                when /&(\w+);/
                  Mechanize.html_parser::NamedCharacters[$1]
                when /&#([0-9]+);/
                  $1.to_i
                end

                number ? ([number].pack('U') rescue match) : match
              }
            end