Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2001 22:28:35 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        doc@freebsd.org
Subject:   Re: <screen> tag usage and html output 
Message-ID:  <20010705052835.E8F253E28@bazooka.unixfreak.org>
In-Reply-To: <20010705042455.A99324@hades.hell.gr>; from keramida@ceid.upatras.gr on "Thu, 5 Jul 2001 04:24:56 %2B0300"

next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas <keramida@ceid.upatras.gr> writes:
> I have been looking at the doc/ sources since last night here, and I
> noticed that <screen> tags are used almost everywhere with SGML code
> like the one below:
> 
>     <screen>&prompt.root; <userinput>pkg_add <replaceable>package name</></us
> erinput>
>     </screen>
> 
> that is, with the closing </screen> tag on a new line, by itself.

This is a bug in the document.

> The w3m browsers seems to handle the following case nicely:
> 
> 	<pre>
> 	text here
> 	</pre>

This is a bug in w3m.

> Is there anything we can do about it, except for changing all
> <screen>-occurences to read <screen>...</screen> (without a newline
> bfore the closing tag)?

We can modify the stylesheet to collapse whitespace before the end
tag, but that's ugly.  The proper fix is to have </screen> on the same
line.  Don't bother sending a PR; I'll fix this.

Thanks,

					Dima Dorfman
					dima@unixfreak.org

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?20010705052835.E8F253E28>