]> granicus.if.org Git - docbook-dsssl/commitdiff
In dbfo-need, replace empty list-item-label with empty block to make output valid.
authorBob Stayton <bobs@sagehill.net>
Tue, 3 Apr 2012 20:23:45 +0000 (20:23 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 3 Apr 2012 20:23:45 +0000 (20:23 +0000)
xsl/fo/pi.xsl

index ff1c83219eb7dbc461a4a04741f0886652b26041..4637738055f22d5e753601baa444880646e6b1a3 100644 (file)
       following-sibling::step">
       <fo:list-item space-after="0pt" 
         xsl:use-attribute-sets="informal.object.properties">
-        <fo:list-item-label/>
+        <fo:list-item-label>
+          <fo:block line-height="0pt"/>
+        </fo:list-item-label>
         <fo:list-item-body start-indent="0pt" end-indent="0pt">
           <xsl:copy-of select="$spacer"/>
         </fo:list-item-body>
         space-before="-{$height}"
         space-after="0pt"
         space-after.precedence="force">
-        <fo:list-item-label/>
-        <fo:list-item-body start-indent="0pt" end-indent="0pt"/>
+        <fo:list-item-label>
+          <fo:block line-height="0pt"/>
+        </fo:list-item-label>
+        <fo:list-item-body start-indent="0pt" end-indent="0pt">
+          <fo:block line-height="0pt"/>
+        </fo:list-item-body>
       </fo:list-item>
     </xsl:when>
     <xsl:otherwise>