> ---------- Forwarded message ----------
> From: Thorsten Scherler <[EMAIL PROTECTED]>
> To: Diwaker Gupta <[EMAIL PROTECTED]>
> Date: Mon, 06 Jun 2005 23:32:13 +0200
> Subject: Re: using jtidy by default: calling cocoon experts to help!
> On Sun, 2005-06-05 at 15:27 -0700, Diwaker Gupta wrote:
> > Hi everyone,
> >
> > I know that Forrest allows using JTidy to clean up raw-HTML pages. I
> > would like to use JTidy by default to clean up the HTML *after the
> > final processing stage*.
> 
> ...and that is what I have not found.
> 
> The JTidy stuff in forrest is used to *generate* html. I now implement a
> workaround in the viewHelper to output html generated by the above
> mentioned generator.
> 
> The result is not what I expected but I do not JTidy at all, so please
> advice on it. You can use *.tidy instead of *.hmtl to get the result.
> 
> >  Right now the HTML that is produced is ok,
> > but a nicely formatted HTML would be nice (and easier to debug!)
> >
> 
> Actually I activated the <intend>yes</intend> in the serializer and with
> the strip_namespace.xsl the output of *.html is nearly jtidy (only that
> jtidy has encoding problems :().
> 
> Check it out.

Hmm, yeah jtidy doesn't seem to be working quite right yet :( I guess
we'll have to go with the indent set to yes in the serializer for now.
If someone can come with a working solution that would be fantastic.
Thanks for helping out though.

-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker

Reply via email to