update line breaks - stripping whitespace