pub fn normalize_to_lf(text: String) -> String
Normalize CR and CRLF into LF.
‘text’ mime types require CRLF line ending according to RFC-2046, however the platform line terminator and what applications expect is LF.