[Seaside] PrettyPrint in WAHtmlDocument

Julian Fitzell jfitzell at gmail.com
Mon Oct 26 17:25:03 UTC 2009


On Mon, Oct 26, 2009 at 3:38 AM, Lukas Renggli <renggli at gmail.com> wrote:
>> Are there plans to add a PrettyPrintingDocument so that the HTML that is
>> sent to the browser looks better?
>
> There are no plans, but it should be easily possible. The problem is
> that pretty printing HTML changes the way it is displayed in
> web-browsers.

Yeah, the earliest versions of Seaside 2.x did do this but it was a
nightmare trying to avoid putting whitespace in places that impacted
the layout. We eventually removed it; it no longer seemed necessary
anyway once browsers could display formatted source.

Julian


More information about the seaside mailing list