i'm using std. ajax call to load the xml api into my app and was wondering why $('longdesc', entry).text(), where entry is a single <entry> inside <entries> turns the "html" inside that node to rubbish ?!
btw: why is it that sometmes there's a CDATA tag inside nodes (where <code> starts) but most of the times there's just plain xml ?