fixed white space management in text nodes