From owner-freebsd-doc@FreeBSD.ORG Thu Jan 17 06:27:51 2008 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCF7F16A417; Thu, 17 Jan 2008 06:27:51 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (unknown [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5472413C468; Thu, 17 Jan 2008 06:27:51 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p4121-ipbf507funabasi.chiba.ocn.ne.jp [124.100.63.121]) (authenticated bits=128) by mail.allbsd.org (8.13.8/8.13.8) with ESMTP id m0H6RXXa015618; Thu, 17 Jan 2008 15:27:47 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id m0H6RJWb019021; Thu, 17 Jan 2008 15:27:23 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Thu, 17 Jan 2008 15:27:04 +0900 (JST) Message-Id: <20080117.152704.183721050.hrs@allbsd.org> To: murray@stokely.org From: Hiroki Sato In-Reply-To: <2a7894eb0801162124x76d7132y8de9f4a1d314d8aa@mail.gmail.com> References: <2a7894eb0801162124x76d7132y8de9f4a1d314d8aa@mail.gmail.com> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Thu_Jan_17_15_27_04_2008_608)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.allbsd.org [133.31.130.32]); Thu, 17 Jan 2008 15:27:49 +0900 (JST) Cc: doceng@FreeBSD.org, freebsd-doc@FreeBSD.org Subject: Re: [PATCH] docproj port needs to use tidy-devel X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 06:27:51 -0000 ----Security_Multipart(Thu_Jan_17_15_27_04_2008_608)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Murray Stokely" wrote in <2a7894eb0801162124x76d7132y8de9f4a1d314d8aa@mail.gmail.com>: mu> Is there any reason not to update the docproj port to use tidy-devel rather mu> than tidy? The released version of tidy is nearly 8 years old and produces mu> xhtml that doesn't validate. The newer -devel releases produce more correct mu> xhtml. IIRC the reason was the encoding support and entity handling. Tidy's -raw option did not work for several 8-bit encodings because tidy always expands a numerical entity into a raw character at the parsing stage, so entities such as © are broken (it will typically be converted to corresponding raw iso8859-1 characters) in the output HTML file. I know the latest version of tidy has preserveEntities option but not sure if it works with encodings which did not work with the old tidy. I will give it a try. -- | Hiroki SATO ----Security_Multipart(Thu_Jan_17_15_27_04_2008_608)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHjvU4TyzT2CeTzy0RAsSHAJ0QYMVvX0iri97ZQf+RTIlRvH7YtwCfX90K jgBjsZuLIg5aCxJo19Mbo+o= =AniV -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Jan_17_15_27_04_2008_608)----