stonean/slim — Issue #191: Problem with space handling
Author: simonc
Created: 2011-10-08 21:40:53+00:00
State: open

Hi,

I am switching from haml to slim in my app. I'm having an issue with the way spaces are handled in code like this:

p
= link_to 'thing', thing
= link_to 'thing2', thing2
= link_to 'thing3', thing3

I end up with my links shown like this: `thingthing2thing3`
With haml they were shown correctly. Is there something to do to make this work well ? Some character to use ?
For now I make it like this but I think its ugly :/

p
| #{link_to 'thing', thing}
#{link_to 'thing2', thing2}
#{link_to 'thing3', thing3}