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

Squiggly heredoc having broken indentation applied to content of doc #136

Closed
lparry opened this issue Jan 4, 2019 · 1 comment
Closed

Comments

@lparry
Copy link
Contributor

lparry commented Jan 4, 2019

Hi,

We are looking at using this on an large existing codebase and our spec suite caught what seems to be a bug in rufo. I've got a tiny example of a failing spec here.

input:

<<~EOF
           #{1}
           #{2}
    EOF

expected output:

<<~EOF
  #{1}
  #{2}
EOF

actual output:

<<~EOF
  #{1}
           #{2}
EOF

I've been poking around in rufo's source but I'm not having much luck following what's going on. Maybe someone smarter than me can figure it out?

@gingermusketeer
Copy link
Member

This should be fixed in 0.4.2. Thanks to @JWoodbr!

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

No branches or pull requests

2 participants