1 2 3 4
/// Normalize CRLF → LF. Matches the TS normalizer exactly. pub fn normalize_line_endings(s: &str) -> String { s.replace("\r\n", "\n") }