Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 01:25:34 +0200
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        Jens Schweikhardt <schweikh@FreeBSD.org>
Cc:        docs@FreeBSD.org
Subject:   Re: man page entities buglet
Message-ID:  <20030310232534.GA6949@gothmog.gr>
In-Reply-To: <20030310081851.GA257@bk4957.de.marconicomms.com>
References:  <20030310081851.GA257@bk4957.de.marconicomms.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-03-10 09:18, Jens Schweikhardt <schweikh@FreeBSD.ORG> wrote:
> hello, world\n
>
> it appears to me that the man page entities produce an extra white space
> at the front of a link text if the entity is not preceded by a space (at
> least for conversions to HTML). An example of this is can be seen in the
> "(&man.more.1; ..." rendering in
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/fbsd-from-scratch/stage1.html
>
> which is rendered as
>
>   ( more(1)
>    ^
>    extra space here.
>
> Can an SGML guru have a look at this?

This is a bug of tidy(1), which makes one of the HTML mistakes I
vehemently hate.  If you build the article with NO_TIDY=yes, you will
notice that the tags <A><SPAN>...</SPAN></A> have no spurious
whitespace after <A> and right before <SPAN>.

I think we should notify the tidy(1) developers about this and see if
there is an option that can inhibit this behavior.  I couldn't find
one by quickly reading through the tidy manpage.

- Giorgos


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?20030310232534.GA6949>