Date: Wed, 13 Oct 1999 20:28:41 +0100 From: Nik Clayton <nik@freebsd.org> To: Tom Hukins <tom@FreeBSD.org> Cc: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>, freebsd-doc@FreeBSD.ORG Subject: Re: Would you please add ftp4.tw.freebsd.org to mirror list? Message-ID: <19991013202841.A41361@catkin.nothing-going-on.org> In-Reply-To: <19991012214821.C21865@hukins.freeserve.co.uk>; from Tom Hukins on Tue, Oct 12, 1999 at 09:48:21PM %2B0100 References: <19991005204727.A36456@turtle.ee.ncku.edu.tw> <19991012214821.C21865@hukins.freeserve.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 12, 1999 at 09:48:21PM +0100, Tom Hukins wrote: > On Tue, Oct 05, 1999 at 08:47:27PM +0800, Chung-Kie Tung wrote: > > By the way, the first page of www.freebsd.org will show some strange tags > > like '?TD>' on my browser, I guess this is caused of using some non-english > > character in the html source. It is at about line 96. > > > > <TD ROWSPAN="2" BGCOLOR="#990000"></TD> > > <TD BGCOLOR="#ffcc66"></TD> > > <TD BGCOLOR="#ffffff"></TD> > > Well spotted! > > This is a tricky problem to solve. I've had a quick look into it but > had no luck. Perhaps someone else on the list can help? > > The problem is that there is a   ( ) in the SGML source. > When the SGML gets converted to HTML, the escaping is lost. I've > tried putting &160# in the SGML source, but that doesn't produce > the desired result either. > > This problem appears to be manifesting itself throughout the site. > The © used in page footers is being converted to an un-escaped > copyright symbol in HTML, for example. > > Can anyone on freebsd-doc figure out a solution to this? Interesting problem. What's odd is that   is translated in the .sgml -> .html conversion (carried out by sgmlnorm) but & isn't (it appears as a literal "&" in the HTML output, as it should). I think this is hardcoded in sgmlnorm. If you look at /usr/ports/textproc/jade/work/jade-1.2.1/sgmlnorm/SGMLGenerator.cxx you'll see (at the bottom of the file) SP_NAMESPACE_SCOPE, which seems to special case lt, gt, amp, and quot for processing. This might be something that's fixed in OpenJade, which is at http://jade-cvs.avionitek.com/ if anyone can take a look. N To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991013202841.A41361>