replace line breaks in headers