From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx.stare.cz (mx.stare.cz [79.98.77.229]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 64f32f1d for ; Wed, 12 Feb 2020 02:02:32 -0500 (EST) Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id e0297278 for ; Wed, 12 Feb 2020 08:02:30 +0100 (CET) Date: Wed, 12 Feb 2020 08:02:29 +0100 From: Jan Stary To: discuss@mandoc.bsd.lv Subject: Re: discrepancy between groff and mandoc for html rendering of wg-quick(8) Message-ID: <20200212070229.GA90820@www.stare.cz> References: X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Feb 11 23:59:21, Jason@zx2c4.com wrote: > [mandoc] https://manpages.debian.org/testing/wireguard-tools/wg-quick.8.en.html That is not the output of mandoc -Thmtl as such. That's mandoc's html output inset into a debian webpage. > [groff] https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8 That is not the output of gorff -Thmtl -mman either. That's groff's html output inset into a webpage. > Look at the "EXAMPLES" section. Notice weird line break issues with mandoc. > Is this a man page source bug or a mandoc bug? > Source is here: https://git.zx2c4.com/wireguard-tools/tree/src/man/wg-quick.8 Take that source, produce the two html outputs mandoc -Thtml wg-quick.8 > wg.mandoc.html groff -Thtml -mman wg-quick.8 > wg.groff.html and compare the results. They are different, but none has the line breaks in EXAMPLES. Jan -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv