"Craig I. Johnson" wrote:
> 
> One of the approaches I have taken is to pipe the html input through
> HTML Tidy (can be found under HTML at the w3c.org site.) This can
> be useful in an application or at least while debugging your application
> to avoid just the problem you ran into.

I like the detanglement of interlaced tags.

Perhaps in perldom, HTML::Clean is a nice start. But perhaps for the
problem I mention above, an external invocation is needed for now.

HTML::Clean has the ability to optimize on practicality rather than
theoretical axe grinding -- such as <strong> to <b>. Good or Bad, I
don't know, but practical for sure, even though bandwidth becomes more
forgiving every day.

Matt

Reply via email to