------ art_106903_26729910.1184826736774
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I'm a total hpricot newbie, so this is only out of curiousity...
Is the following expected behaviour?
I found this while struggling through a nasty xml parsing bug.
hstr pricot('<a/><b>c</b>').to_s #or to_html
returns '<a><b>c</b></a>'
I have found that using to_original_html returns '<a/><b>c</b>' as expected
but I was wondering why you would want <a/> to wrap the other contents when
it obviously isn't correct? Is this handy behaviour for scrapping?
regards
------ art_106903_26729910.1184826736774--