]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug #1348 where class of output table not being set correctly.
authorBob Stayton <bobs@sagehill.net>
Fri, 31 Jul 2015 23:47:28 +0000 (23:47 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 31 Jul 2015 23:47:28 +0000 (23:47 +0000)
xsl/html/table.xsl

index c6c9ee92829e4e03b4acf5669fbfb8367c722ce3..4afd98372ec6ec28375ea8cb399420f88f108d51 100644 (file)
   </xsl:variable>
 
   <table>
-    <xsl:apply-templates select="." mode="common.html.attributes"/>
+    <!-- common attributes should come from parent table, not tgroup -->
+    <xsl:apply-templates select=".." mode="common.html.attributes"/>
 
     <xsl:choose>
       <!-- If there's a textobject/phrase for the table summary, use it -->