fn convert_to_windows_newlines(formatted_text: &String) -> String