ppannuto / python-titlecase

Python library to capitalize strings as specified by the New York Times Manual of Style
MIT License
254 stars 38 forks source link

Preserving white space #88

Closed dukeEllington32 closed 2 years ago

dukeEllington32 commented 2 years ago

When I use the following shell command, the outfile removes all lines that don't contain text.

$ titlecase -f infile -o outfile

Is there a way to preserve all white space?

ppannuto commented 2 years ago

Sigh. I need to fix the testing infrastructure, as nose is apparently deprecated. I'll put out a release whenever I have time to get that fixed as well. This does work locally when running these tests with old python's still supported by nose. As long as you don't need to run tests, you can run off git tip for the short term.