On Thu, Jun 11, 2015 at 01:56:35PM +0100, Christian Ledermann wrote:
> try the diazo middleware, iirc there is an example how to remove
> whitespace and comments

I was trying to find a way of not inserting the whitespace in the first
place!

> On 11 June 2015 at 13:42, Brian Sutherland <br...@vanguardistas.net> wrote:
> > We're using Chameleon quite a bit. I was wondering if there were an
> > option to remove whitespace between HTML elements at compile time?
> >
> > Google fails me on this, but it seems that the right place is at compile
> > time as opposed to removing it afterward with some wsgi middleware (for
> > example 
> > http://htmlmin.readthedocs.org/en/latest/reference.html#wsgi-middlware)
> >
> > --
> > Brian Sutherland
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "pylons-discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to pylons-discuss+unsubscr...@googlegroups.com.
> > To post to this group, send email to pylons-discuss@googlegroups.com.
> > Visit this group at http://groups.google.com/group/pylons-discuss.
> > For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> Best Regards,
> 
> Christian Ledermann
> 
> Newark-on-Trent - UK
> Mobile : +44 7474997517
> 
> https://uk.linkedin.com/in/christianledermann
> https://github.com/cleder/
> 
> 
> <*)))>{
> 
> If you save the living environment, the biodiversity that we have left,
> you will also automatically save the physical environment, too. But If
> you only save the physical environment, you will ultimately lose both.
> 
> 1) Don’t drive species to extinction
> 
> 2) Don’t destroy a habitat that species rely on.
> 
> 3) Don’t change the climate in ways that will result in the above.
> 
> }<(((*>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/d/optout.

-- 
Brian Sutherland

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to