Remove unnecessary space and line break.