Skip to content
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

Add unstripped option to keep newlines at beginning/end #49

Closed
Jeehut opened this issue Jan 20, 2017 · 1 comment
Closed

Add unstripped option to keep newlines at beginning/end #49

Jeehut opened this issue Jan 20, 2017 · 1 comment

Comments

@Jeehut
Copy link
Member

Jeehut commented Jan 20, 2017

Currently using the combination of BartyCrouch and PhraseApp results to some issues with newlines. The problem is that PhraseApp keeps no newline at the top of the file and two newlines instead at the bottom of it. BartyCrouch currently keeps each one newline at the top and bottom.

The requested feature would be a new command line option to keep the surrounding newlines (and other whitespace characters) the the top and bottom of the file. It could be called unstripped or -u as strip is typically a method on Strings that removes whitespaces from the beginning and end.

@Jeehut
Copy link
Member Author

Jeehut commented Jan 20, 2017

Version 3.7.0 attempts to fix this version with the new unstripped option. Closing this.

@Jeehut Jeehut closed this as completed Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant