Feneric / doxypypy

A more Pythonic version of doxypy, a Doxygen filter for Python.
GNU General Public License v2.0
149 stars 48 forks source link

Fix for issue #52 #62

Closed burgerbecky closed 5 years ago

burgerbecky commented 5 years ago

When running Doxypypy on a Windows machine, getLines() creates an array of strings separated by '\r\n' while technically correct, when this list is passed to the print() function, it converts the '\n' to a '\r\r\n' sequence causing issues with Doxygen on Windows and text editors in general. By changing the value passed to join() from linesep to '\n', print() properly converts the line feeds to on all platforms.

burgerbecky commented 5 years ago

Changed the code so print processes each line separately. This was tested with the unit tests, Windows, Mac and Linux systems.

Feneric commented 5 years ago

Thanks for the fix (and for running it through the tests to ensure nothing got broken).

burgerbecky commented 5 years ago

Any time!