[PATCH] docproj port needs to use tidy-devel

Hiroki Sato hrs at FreeBSD.org
Thu Jan 17 06:27:51 UTC 2008


"Murray Stokely" <murray at stokely.org> wrote
  in <2a7894eb0801162124x76d7132y8de9f4a1d314d8aa at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20080117/b75e7071/attachment.sig>


More information about the freebsd-doc mailing list