]> granicus.if.org Git - docbook-dsssl/commitdiff
fix issue #113 table entry bottom rowsep not created for morerows entry snapshot/2018-10-21-188
authorbobstayton <bobs@sagehill.net>
Sun, 21 Oct 2018 21:39:47 +0000 (14:39 -0700)
committerbobstayton <bobs@sagehill.net>
Sun, 21 Oct 2018 21:48:04 +0000 (14:48 -0700)
xsl/html/table.xsl

index 9e749c4508bd0a74d05b4abc51f0b11b4f117828..c4c566a77977bb27dab0d061bf099a7bfc69aadc 100644 (file)
       </xsl:when>
       <!-- not last row with @morerows (thead is not last row) -->
       <xsl:when test="not(ancestor::d:thead) and @morerows and not(@morerows &lt;
-                 count(ancestor-or-self::d:row[1]/following-sibling::d:row))">
+                 ( count(ancestor-or-self::d:row[1]/following-sibling::d:row) +
+                   count(ancestor::d:tgroup/d:tfoot/d:row)) )">
         <xsl:value-of select="0"/>
       </xsl:when>
       <xsl:otherwise>