%li
  <a href="#{new_path}">Create <strong>FREE</strong> Whatever</a>

This and other tips available at:
http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content/

<http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content/>
chris

On Thu, Nov 18, 2010 at 3:42 PM, Geoff Evason <[email protected]> wrote:

>
> Or you could do this (which is semantically cleaner than trying to
> insert tags in strings
>
> %li
>  %a{:href=>new_path}
>     Create
>    %strong FREE
>    Whatever
>
> On Nov 15, 11:58 am, Sean <[email protected]> wrote:
> > %li= link_to 'Create <strong>FREE</strong> Whatever', new_path
>
> --
> 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] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
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.

Reply via email to