The Haml-icious way to succeed things with commas, periods, and stuff
like that is the "succeed" helper:
%h2.splash
= succeed ',' do
= welcome
%span.temp Alistar Holt!
Of course, in this case, that's a bit superfluous, but it's useful when
you have something like
%h2.splash
= succeed ',' do
%a{ :href=>'/welcome_page' }= welcome
%span.temp Alistar Holt!
- Nathan
DWF wrote:
> %h2.splash
> = welcome + ', '
> %span.temp Alistar Holt!
>
> That doesn't work for you? Are you getting an error?
>
> --dwf
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---