[Lift] Re: suggestion: strip comments when serving templates

2009-09-23 Thread David Pollak
On Wed, Sep 23, 2009 at 6:59 AM, harryh wrote: > > > - Would also be nice if all excessive white space were stripped from > > the output (not sure how much this matters if it's gzip'ed) > > This would be nice as well, but can be a lot more complicated. GXP (a > templating language I worked on

[Lift] Re: suggestion: strip comments when serving templates

2009-09-23 Thread David Pollak
On Wed, Sep 23, 2009 at 1:29 AM, Timothy Perrett wrote: > > Totally agree Jeppe. > > @dpp - what changes did you make? Are they in review board yet? > Yes. They are part of the parallel snippet checkin. Marius might be best suited to review that checkin as it's very, very complex and is in the

[Lift] Re: suggestion: strip comments when serving templates

2009-09-23 Thread David Pollak
On Tue, Sep 22, 2009 at 11:48 PM, Jeppe Nejsum Madsen wrote: > > harryh writes: > > > I would love to add comments to my templates: > > > > > > > > that got stripped out before being served to end users. > > A few thoughts: > > - Would also be nice if all excessive white space were stripped from

[Lift] Re: suggestion: strip comments when serving templates

2009-09-23 Thread harryh
> - Would also be nice if all excessive white space were stripped from >   the output (not sure how much this matters if it's gzip'ed) This would be nice as well, but can be a lot more complicated. GXP (a templating language I worked on at Google) had pretty awesome whitespace control that I'm h

[Lift] Re: suggestion: strip comments when serving templates

2009-09-23 Thread Timothy Perrett
Totally agree Jeppe. @dpp - what changes did you make? Are they in review board yet? Cheers, Tim On 23 Sep 2009, at 07:48, Jeppe Nejsum Madsen wrote: > > harryh writes: > >> I would love to add comments to my templates: >> >> >> >> that got stripped out before being served to end users. > >

[Lift] Re: suggestion: strip comments when serving templates

2009-09-22 Thread Jeppe Nejsum Madsen
harryh writes: > I would love to add comments to my templates: > > > > that got stripped out before being served to end users. A few thoughts: - Would also be nice if all excessive white space were stripped from the output (not sure how much this matters if it's gzip'ed) - In dev mode, I t

[Lift] Re: suggestion: strip comments when serving templates

2009-09-22 Thread David Pollak
Turns out that's where I am in the code... I'll add it right now. On Tue, Sep 22, 2009 at 3:46 PM, harryh wrote: > > I would love to add comments to my templates: > > > > that got stripped out before being served to end users. > > -harryh > > > > -- Lift, the simply functional web framework