D
D. Krmpotic
Hi,
Has anyone noticed the following gotcha/bug(?) with empty xml tags in
hpricot: doc = Hpricot("<div><foo/><span>aaaa</span></div>") ;
doc.at("foo") => {elem <foo> {elem <span> "aaaa" </span>}} versus =>
{emptyelem <foo>} for <foo></foo>
How to get around that?
thank you!
david
Has anyone noticed the following gotcha/bug(?) with empty xml tags in
hpricot: doc = Hpricot("<div><foo/><span>aaaa</span></div>") ;
doc.at("foo") => {elem <foo> {elem <span> "aaaa" </span>}} versus =>
{emptyelem <foo>} for <foo></foo>
How to get around that?
thank you!
david