Only consider whitespaces significant if there are no children