Haml formatting
- by mathee
I'm new to haml, so I'm still trying to figure out the formatting.
I have an index.haml file with the following code.
%h1
Welcome to Solidarity
Hello,
= @profile.first_name
!
It renders like this:
Welcome to SolidarityHello, user !
Here's the page source:
<h1>
Welcome to Solidarity
</h1>
Hello,
frances
!
It has a space between @profile.first_name and the exclamation mark. Why is that? And, how do I fix it?