doc delete: remove trailing spaces