From owner-freebsd-doc Wed Jul 4 18:25: 4 2001 Delivered-To: freebsd-doc@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 5689837B401 for ; Wed, 4 Jul 2001 18:25:00 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b027.otenet.gr [195.167.121.155]) by mailsrv.otenet.gr (8.11.1/8.11.1) with ESMTP id f651Ovo27002 for ; Thu, 5 Jul 2001 04:24:58 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.4/8.11.3) id f651Ou399394 for doc@freebsd.org; Thu, 5 Jul 2001 04:24:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 5 Jul 2001 04:24:56 +0300 From: Giorgos Keramidas To: doc@freebsd.org Subject: tag usage and html output Message-ID: <20010705042455.A99324@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been looking at the doc/ sources since last night here, and I noticed that tags are used almost everywhere with SGML code like the one below: &prompt.root; pkg_add package name that is, with the closing tag on a new line, by itself. Looking at the resulting HTML output, this renders in something like:
	# pkg_add package name
    
or even worse in other cases with an extra empty line before the closing tag. This causes browsers that I have tested (Lynx, Netscape and w3m) to leave more space below a 's output than what they leave above. The w3m browsers seems to handle the following case nicely:
	text here
	
But Lynx and Netscape seem to do the `right thing' only when given:
text here
Has anybody else seen this in displayed material, when using Netscape? Is there anything we can do about it, except for changing all -occurences to read ... (without a newline bfore the closing tag)? -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message