forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: avoiding unnecessary changes in output formatting
Date Thu, 22 Dec 2005 23:55:03 GMT
Ross Gardler wrote:
> David Crossley wrote:
> >
> >We had a discussion recently on dev about using a
> >final transformer step at the end to tidy the
> >html output into consistent format. Or perhaps
> >that is the job of the html serializer. Dunno.
> >
> >Anyway should we do that? Users would get one big
> >change after they upgraded tp 0.8 and thereafter
> >the changes would be minimal and output would be
> >consistent. A side-benefit is that it is human-readable.
> 
> How about we do this as part of the Dispatcher work. There would be no 
> "big change" for those not moving from Dispatcher and it can be another 
> of the "selling" points for the new publication.

It will not need more selling points :-)

> Of course this means there would be a reasonably long wait for it to 
> happen. Whereas the transformer/serializer approach could be done 
> immediately.

Good idea, but i reckon it would be better to
add it too the skins too. I will wait a while to
hear objections, otherwise i will attempt it
for skins.

Perhaps making it configurable would be better:
tidy, none, compact (i.e. collapse-whitespace).

-David

Mime
View raw message