From owner-freebsd-doc@FreeBSD.ORG Wed Feb 4 22:37:50 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE77416A4CE; Wed, 4 Feb 2004 22:37:50 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5EE643D1D; Wed, 4 Feb 2004 22:37:47 -0800 (PST) (envelope-from phantom@FreeBSD.org.ua) Received: from phantom.cris.net (phantom@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i156cloh013275; Thu, 5 Feb 2004 08:38:47 +0200 (EET) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i156clRZ013274; Thu, 5 Feb 2004 08:38:47 +0200 (EET) (envelope-from phantom) Date: Thu, 5 Feb 2004 08:38:47 +0200 From: Alexey Zelkin To: Alex Dupre Message-ID: <20040205063847.GA13136@phantom.cris.net> References: <3FFDCE40.20600@FreeBSD.org> <401A1786.9020705@FreeBSD.org> <20040204.171343.23008681.hrs@eos.ocn.ne.jp> <402171B7.7020205@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <402171B7.7020205@FreeBSD.org> X-Operating-System: FreeBSD 4.9-STABLE i386 User-Agent: Mutt/1.5.5.1i cc: freebsd-doc@freebsd.org cc: Hiroki Sato Subject: Re: tidy flag X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 06:37:50 -0000 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). NBSP -   COPY - ©