Avoid to consider whitespaces as textnode