Re: [pylons-discuss] Removing whitespace from chameleon templates

2015-06-11 Thread Brian Sutherland
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

[pylons-discuss] Removing whitespace from chameleon templates

2015-06-11 Thread Brian Sutherland
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

Re: [pylons-discuss] Removing whitespace from chameleon templates

2015-06-11 Thread Christian Ledermann
try the diazo middleware, iirc there is an example how to remove whitespace and comments 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