Ignore whitespaces when inserting spaces