tidy flag

Alexey Zelkin phantom at FreeBSD.org.ua
Thu Feb 5 06:37:50 UTC 2004


hi,

On Wed, Feb 04, 2004 at 11:27:03PM +0100, Alex Dupre wrote:
> Hiroki Sato wrote:
> 
> > Since tidy always translates &xxx; into a raw character even when the
> > -raw option is specified, it can break a doc in a encoding other than
> > iso-8859-1.  The -preserve option is a hack to prevent this translation,
> > which has been written by phantom@ at that time.
> 
> Ok, the question then becomes: is it possible to replace the -preserve 
> tidy-stable flag with the -numeric tidy-devel flag? Otherwise can you 
> send me a pratical example where -preserve is needed? We (Thierry Thomas 
> and me) will try ourself.

Well.  Try below html code with -preserve and without.  You'll see a
difference.  Actually most annoying things was a 'entity expansion', but
there were also some problems with non-ASCII symbols processing under
some conditions (but unfortunatelly i don't remember details).

<html>
  <body>
    NBSP -  
    COPY - ©
  </body>
</html>
 



More information about the freebsd-doc mailing list