]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in dbfo-need: can't use space-before in list.
authorBob Stayton <bobs@sagehill.net>
Tue, 8 Mar 2005 08:36:29 +0000 (08:36 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 8 Mar 2005 08:36:29 +0000 (08:36 +0000)
xsl/fo/pi.xsl

index 7719860f714bf5df071578002a72960cd460b369..292cfc5346613a1db797e725d0d961ab9ce233e4 100644 (file)
     <xsl:when test="$fop.extensions != 0">
       <!-- Doesn't work in fop -->
     </xsl:when>
-    <xsl:when test="$pi-before != ''">
+    <xsl:when test="$pi-before != '' and
+                    not(following-sibling::listitem) and
+                    not(following-sibling::step)">
       <fo:block space-after="0pt" space-before="{$pi-before}">
         <xsl:copy-of select="$spacer"/>
       </fo:block>