fixed cdata handling
[tests] </br>s are now ignored
handle text chunks at the root level