Ticket #152 (new defect)
Opened 5 months ago
Hpricot is not handling aprostrophe appropriately
| Reported by: | anthony | Owned by: | why |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | lib/hpricot | Version: | |
| Keywords: | hpricot apostrophe | Cc: |
Description
Hi,
I am using Hpricot version 0.6.
I have a hpricot::element called profile. I ran the following in the ruby console:
profile.at('last_name').inner_html
=> "O'Flynn"
profile.at('last_name').inner_text
=> "O?Flynn"
Instead of returning "O?Flynn", I would have expected inner_text to return "O'Flynn". Can you kindly help?
Thanks.
Sincerely, Anthony
Note: See
TracTickets for help on using
tickets.
