You could either do

.my_class
  == Some text #{link_to 'cool link', :action => 'awesome'}, some more text

or

.my_class
  Some text
  = succeed ',' do
    = link_to 'cool link', :action => 'awesome'
  some more text

On Thu, Jan 8, 2009 at 5:20 PM, Jacob <[email protected]> wrote:

>
> I find myself oftentimes writing things equivalent to:
>
> .my_class
>  Some text
>  = link_to 'cool link', :action => 'awesome'
>  , some more text
>
> Unfortunately, the comma after the link ends up with a space before
> it:
>
>  Some text awesome , some more text
>
> How is this best resolved?
>
> Thanks!
>
> >
>

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