Skip to content

Use string interpolation for trailing whitespace#730

Merged
rafaelfranca merged 1 commit into
rails:masterfrom
jonathanhefner:encode-trailing-whitespace
Jun 2, 2021
Merged

Use string interpolation for trailing whitespace#730
rafaelfranca merged 1 commit into
rails:masterfrom
jonathanhefner:encode-trailing-whitespace

Conversation

@jonathanhefner

Copy link
Copy Markdown
Member

Code editors are commonly configured to strip trailing whitespace when saving. Additionally, trailing whitespace may be hard to distinguish visually, both in the editor and in diffs.

This commit uses string interpolation to encode expected trailing whitespace.

Code editors are commonly configured to strip trailing whitespace when
saving.  Additionally, trailing whitespace may be hard to distinguish
visually, both in the editor and in diffs.

This commit uses string interpolation to encode expected trailing
whitespace.

@dorner dorner left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@rafaelfranca rafaelfranca merged commit 013c915 into rails:master Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants