pub fn normalize_newlines<const N: usize>(
    text: &str,
    terminators: [char; N]
) -> Cow<'_, str>
Expand description

Replace the line terminators matching the provided list with “\n” since its the only line break type supported by the printer