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

Autocorrect inserting a space mid-string #943

Closed
asafbrukarz opened this issue Apr 3, 2014 · 3 comments
Closed

Autocorrect inserting a space mid-string #943

asafbrukarz opened this issue Apr 3, 2014 · 3 comments
Assignees
Labels

Comments

@asafbrukarz
Copy link

Version: 0.20.0 (using Parser 2.1.7, running on ruby 2.0.0 x86_64-darwin12.3.0)

We have had a few examples of the autocorrect messing up strings:

type: ['offline','offline_payment']

was turned into:

reservation_type: %w(offlin e offline_payment)

Also:

I18n.t('models.payment.invoice_description',:property_name =>property.name)

was turned into

I18n.t('models.payment.invoice_descriptio n', property_name: property.name)
@asafbrukarz
Copy link
Author

Another example:

bar_colors: ['958c12','953579','ff5800','0085cc']

Changed to:

bar_colors: %w(9 58c12 953 579 ff580 0 0085cc)

@bbatsov
Copy link
Collaborator

bbatsov commented Apr 3, 2014

@jonas054 Would you have a look at this?

@jonas054
Copy link
Collaborator

jonas054 commented Apr 3, 2014

Yes, that one's for me.

bbatsov added a commit that referenced this issue Apr 4, 2014
[Fix #943] Fix auto-correct interference with SpaceAfterComma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants