Date: Thu, 5 Feb 2004 08:38:47 +0200 From: Alexey Zelkin <phantom@FreeBSD.org.ua> To: Alex Dupre <ale@freebsd.org> Cc: Hiroki Sato <hrs@freebsd.org> Subject: Re: tidy flag Message-ID: <20040205063847.GA13136@phantom.cris.net> In-Reply-To: <402171B7.7020205@FreeBSD.org> References: <3FFDCE40.20600@FreeBSD.org> <401A1786.9020705@FreeBSD.org> <20040204.171343.23008681.hrs@eos.ocn.ne.jp> <402171B7.7020205@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205063847.GA13136>