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