Ok, thanks!

Feature request: add the white-space eating control characters to the
standalone equals character like so:

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

Yielding: Some text cool link, some more text

(or was that <= or ><= ? ;)

Thanks!


On Jan 8, 6:00 pm, "Nathan Weizenbaum" <[email protected]> wrote:
> 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