Hpricot - malformed HTML question


#1

Hi.

I have some html links that are poorly formed. Note the capital “A”.

link here

This code will find all of the correctly formed links with the lower
case “a”.

search_result.search("//a[@href*=’/link_here/’]") do |link|

How can I get the links that are designated with a capital “A”?

Thanks!