diff options
Diffstat (limited to 'templates/reST.xsl')
-rw-r--r-- | templates/reST.xsl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/reST.xsl b/templates/reST.xsl index 7db5de2..d216243 100644 --- a/templates/reST.xsl +++ b/templates/reST.xsl @@ -326,7 +326,10 @@ A similar field exists for specifying the valign value. This field is called ":table-cell-valign:". --> <xsl:template match="table"> - <table cellpadding="0" cellspacing="0"><xsl:apply-templates /></table> + <table> + <xsl:if test="@classes"><xsl:attribute name="class"><xsl:value-of select="@classes"/></xsl:attribute></xsl:if> + <xsl:apply-templates /> + </table> </xsl:template> <xsl:template match="thead"> |