pub fn normalize_indent(input: &str) -> String
Replace a leading run of tabs and spaces with the same number of plain spaces; mirrors patch-parser.ts:227-229.
patch-parser.ts:227-229