From 784928e27499b991e721298c53dbd5f84cb4d942 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 5 Oct 2005 05:28:49 +0000 Subject: [PATCH] Problem:: Extra space added before Arg output Cmdsynopsis in some cases where the Arg contents appear at the beginning of a line. bdmond [-s, --start] [-k, --stop] [-h, --help] [-V, --version] Cause:: Some other fix made around the time of v1.68.0 introduced a regression in behavior for cases where an Arg is preceded by an Sbr. The Sbr produces a line break as expected, but the line break is followed by a space and then the contents of the following Arg. Fix:: The code for processing Args now checks to see if the first preceding sibling of the Arg is an Sbr. If so, it does not output the additional space; otherwise, it outputs the space. - + Closes #1313481. Thanks to Costin Stroie for reporting the problem and pointing out where the cause was in the code. --- xsl/manpages/synop.xsl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xsl/manpages/synop.xsl b/xsl/manpages/synop.xsl index c48fa3e5b..af8943597 100644 --- a/xsl/manpages/synop.xsl +++ b/xsl/manpages/synop.xsl @@ -36,7 +36,9 @@ - + -- 2.40.0