-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rst header incorrectly transformed - issues with Windows line endings #18
Comments
Hey @epogrebnyak |
Maybe not tested on Windows and |
I can confirm it. It is a windows style-doc/tests/test_style_doc.py Lines 19 to 30 in 34744cd
If you see a way how to fix it - feel free for a PR. |
It should be possible to read the file and convert all newlines to |
Similarly to the test code, when new line is not specified, open() transforms any newlines to \n (universal newline), so for the PR I'll just try skipping the new line parameter in open(). |
@epogrebnyak this is fixed - see fbf9974 |
@epogrebnyak I made a new release on pypi. Can you please update the package and try it on your side? |
Great, thanks, looks fixed. As a side comment the newlines after formatting the newlines are just |
become
after running style-doc and not longer recognised as header. I think this is not intended behaviour.
The text was updated successfully, but these errors were encountered: