Normalize CRLF and CR newlines to just LF.
(text)
| 306 | |
| 307 | @keep_lazy_text |
| 308 | def normalize_newlines(text): |
| 309 | """Normalize CRLF and CR newlines to just LF.""" |
| 310 | return re_newlines.sub("\n", str(text)) |
| 311 | |
| 312 | |
| 313 | @keep_lazy_text |
no outgoing calls
no test coverage detected