On Mon, 25 Sep 2006 22:12:46 +0200 Manlio Perillo <[EMAIL PROTECTED]> wrote:
> Adrian Perez ha scritto:
> > On Mon, 25 Sep 2006 19:06:58 +0200
> > Manlio Perillo <[EMAIL PROTECTED]> wrote:
> >
> >> Is it possible (and how) to generate XHTML documents without extra
> >> whitespaces?
> >
> > No pun intended, just being curious: Do you want that feature for
> > something else than saving a small amount of bandwidth?
>
> No, I want this feature to avoid possible problems with whitespaces.
Now I see the point... and now I realize that feature would make some
of my template more readable. Unfortunately I don't know how to
generate code without whitespaces, sorry :-\
> > I would prefer
> > generation of properly-indented XHTML as an option, which helps
> > debugging -- but one can always call tidylib from the renderHTTP()
> > method ;-)
>
> No, please.
> This can kill the server...
Of course performance would be like a pain in the ass, but I sometimes
do that when checking generated code «by hand», but *only* when
debugging ;-P
Cheers,
--
I'd like to meet the man who invented sex and see what he's working on
now.
--
"Experience is what you get when you don't get what you want"
-- (Dan Stanford)
signature.asc
Description: PGP signature
_______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
