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

Fix for "\n" after backslash escape #473

Merged
merged 2 commits into from
Aug 8, 2017

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Jul 28, 2017

The "\n" after backslash escape is not correctly now, so the code below is broken in HTML.

a = 1 if first_flag_var and \
  this_is_flag_var

broken HTML

This Pull Request fixes it.

fixed HTML

The "\n" after backslash escape is not correctly now,
so the code below is broken in HTML.

a = 1 if first_flag_var and \
  this_is_flag_var

This commit fixes it.
@amatsuda
Copy link
Member

Need not to add a test for this?

@aycabta aycabta force-pushed the fix-for-nl-after-backslash branch from 3e36a99 to 4733565 Compare July 28, 2017 23:56
@aycabta
Copy link
Member Author

aycabta commented Jul 29, 2017

OK, I added a test for this.

@hsbt hsbt self-assigned this Aug 5, 2017
@hsbt
Copy link
Member

hsbt commented Aug 8, 2017

confirmed. Thanks!

@hsbt hsbt merged commit 130bd3d into ruby:master Aug 8, 2017
@aycabta aycabta deleted the fix-for-nl-after-backslash branch August 8, 2017 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants