Re: production html whitespace compression alters rendered markup

2010-07-16 Thread Josh Canfield
> If only Tapestry were written in Clojure :-) Yep, no users, no feature requests, no bugs :P On Fri, Jul 16, 2010 at 8:36 AM, Howard Lewis Ship wrote: > Actually, I doubt that; it's well integrated into the template parser, > not broken out into a separate service.  If only Tapestry were writte

Re: production html whitespace compression alters rendered markup

2010-07-16 Thread Howard Lewis Ship
Actually, I doubt that; it's well integrated into the template parser, not broken out into a separate service. If only Tapestry were written in Clojure :-) On Fri, Jul 16, 2010 at 5:26 AM, Inge Solvoll wrote: > As always, I'm pretty sure it's possible and not too hard to decorate the > built-in

Re: production html whitespace compression alters rendered markup

2010-07-16 Thread Inge Solvoll
As always, I'm pretty sure it's possible and not too hard to decorate the built-in service that does this work :) On Fri, Jul 16, 2010 at 5:53 AM, Paul Stanton wrote: > thanks for the suggestion howard, this would be fine if it were obvious to > all developers which cases were problematic. other

Re: production html whitespace compression alters rendered markup

2010-07-15 Thread Paul Stanton
thanks for the suggestion howard, this would be fine if it were obvious to all developers which cases were problematic. otherwise it's a case of putting out spot fires which isn't good. i still think making the whitespace compressor more intelligent ie replacing multiple whitespace chars with

Re: production html whitespace compression alters rendered markup

2010-07-15 Thread Howard Lewis Ship
Where whitespace counts, add an xml:space="preserve" attribute to the enclosing tag, i.e. This is my paragraph and sometimes a single word or phrase might need some special attention so I might do this, but it's still my paragraph. On Wed, Jul 14, 2010 at 9:27 PM, Paul Stanton wrote: > Firstly

Re: production html whitespace compression alters rendered markup

2010-07-15 Thread Joost Schouten (ml)
I agree Paul, I have been using configuration.add(SymbolConstants.COMPRESS_WHITESPACE, "false"); for a while as a quick fix. But I too believe the white space compression can be a bit more intelligent and leave one space between tags if there are any. My 2 cents, Joost Paul Stanton wrote: F

Re: production html whitespace compression alters rendered markup

2010-07-15 Thread Christophe Cordenier
Hi, 2010/7/15 Paul Stanton > Firstly, I'd like to say that tapestry does most things very well and I > probably only comment on the things it doesn't do well. Thank you to those > who've spent time improving the framework for making my job as a developer > more enjoyable. > > I do have an issue

production html whitespace compression alters rendered markup

2010-07-14 Thread Paul Stanton
Firstly, I'd like to say that tapestry does most things very well and I probably only comment on the things it doesn't do well. Thank you to those who've spent time improving the framework for making my job as a developer more enjoyable. I do have an issue with the production mode Considering