fixed CDATA handling in getText