Handle trimming and removing whitespace from text nodes