#77 ✓resolved
Zach Dennis

Nokogiri using hexadecimal character references

Reported by Zach Dennis | November 30th, 2008 @ 10:06 PM

My app is producing:


<option value="5">John 3 Doe – Location 4</option>

However when webrat parses it with Nokogiri it returns:


<option value="5">John 3 Doe &#x2013; Location 4</option>

My feeble attempt to produce a failing spec in webrat itself failed. I am using the latest webrat as of a few minutes ago. The actual response body that webrat gets includes the un-encoded option text, so I am ruling out that my app is generating the hexadecimal character references.

All of this makes things like the following fail:


selects "John 3 Doe - Location 4", :from => "label"

I am using the latest from webrat and also Nokogiri 1.0.6.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Tags

Pages