normalize line breaks