]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug 3599520: spurious newline in para when starts with
authorBob Stayton <bobs@sagehill.net>
Mon, 7 Jan 2013 20:13:05 +0000 (20:13 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 7 Jan 2013 20:13:05 +0000 (20:13 +0000)
whitespace and inline element.

xsl/manpages/utility.xsl

index 76b0366396ce1bdc8e4b7c1eab65eaab59a825e0..b64d0e732d483fb9942c6805c98631f30d35c49d 100644 (file)
                     or following-sibling::node()[1][self::processing-instruction()]
                     ">
             <xsl:if test="normalize-space($content) != ''
-                          or concat(normalize-space($content), ' ') = ' '">
+                          or concat(normalize-space($content), ' ') != ' '">
               <xsl:text>&#10;</xsl:text>
             </xsl:if>
           </xsl:if>