Function smithay_clipboard::mime::normalize_to_lf
source · pub fn normalize_to_lf(text: String) -> String
Expand description
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.