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

Always trim fields on save and remove TrimFormatter #974

Merged
merged 2 commits into from
Mar 16, 2016

Conversation

tobiasdiez
Copy link
Member

The consensus in #920 was that fields should always be written without leading or trailing whitespace. This is done in this PR and the TrimFormatter is removed.
(by the way, empty fields are never written as one of the added tests shows)

  • Change in CHANGELOG.md described?
  • Changes in pull request outlined? (What, why, ...)
  • Tests created for changes?
  • Tests green?

@tobiasdiez tobiasdiez added type: enhancement status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers labels Mar 15, 2016
@matthiasgeiger
Copy link
Member

LGTM

simonharrer added a commit that referenced this pull request Mar 16, 2016
Always trim fields on save and remove TrimFormatter
@simonharrer simonharrer merged commit 7965ce6 into JabRef:master Mar 16, 2016
@tobiasdiez tobiasdiez deleted the alwaystrim branch March 16, 2016 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants