If you're using Rails:
== @#{link_to 'foo', '#'}
If you don't mind some extra markup:
%span<>
@
%a{:href=>"#"} foo
I don't know any way to just generate a trimmed text node...
-chris
On Sep 3, 10:32 pm, "Patrick Aljord" <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I'm trying to generate:
> @<a href="#">foo</a>
>
> but it keeps generating:
> @ <a href="#">foo</a>
>
> with a space between @ and the link. I use this:
>
> = "@"
> %a{ :href=>"#"}
> = "foo"
>
> Any idea?
>
> thanks in advance
>
> Pat
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---