That seems like a very awkward solution to a problem that already has other
solutions. Adding more significant characters is something we want to stay
away from unless it adds significant additional functionality, and I just
don't see this doing so.

- Nathan

On 2/9/07, Doug McBride <[EMAIL PROTECTED]> wrote:
>
>
>
> What about this?
>
> %p
>    I went to the
>    =- @location
>    , so crossed the road
>
> or some other marker to swallow whitespace?  Haven't really thought
> that through (no coffee yet).
>
>
> On Feb 9, 8:12 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> > One problem with this is that, while HTML doesn't register the content
> > or type of whitespace, it does register the /existance/ of whitespace,
> > so you end up with a space between @location and the comma. It will
> > render as "I went to the store , so crossed the road," which looks a
> > little awkward.
> >
> > - Nathan
> >
> > weepy wrote:
> > > having quoted my example, i actually end up doing :
> >
> > > %p
> > >    I went to the
> > >    = @location
> > >    , so crossed the road
> >
> > > since the newlines within the p tag do not render as newlines. I know
> > > some purist might not like this, but its fine for me
>
>
> >
>

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