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

Wrong output on string interpolation #7

Open
panozzaj opened this issue Oct 14, 2011 · 2 comments
Open

Wrong output on string interpolation #7

panozzaj opened this issue Oct 14, 2011 · 2 comments

Comments

@panozzaj
Copy link

Here's a simplified test case of what I am seeing:

%ul{:class => "simple-list#{' with-icon' if false}"}

->

ul{:class => "simple-list# ' with-icon' if false}"

I expected the output to be something like:

ul class="simple-list#{' with-icon' if icons}"

I am a new user of Slim, so I might be off on this. Meanwhile I changed the output to match what I expected. Thanks for your help!

@marcalc
Copy link

marcalc commented Aug 10, 2012

Can this be fixed? I have some 200 haml templates I would like to convert and this is the most common error I found.

@HoneyryderChuck
Copy link

same to me.

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

3 participants