summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/reST.xsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/reST.xsl b/templates/reST.xsl
index d216243..bd548af 100644
--- a/templates/reST.xsl
+++ b/templates/reST.xsl
@@ -110,6 +110,17 @@
</xsl:element>
</xsl:template>
+<xsl:template match="figure">
+ <div class="figure {@classes}">
+ <xsl:apply-templates />
+ </div>
+</xsl:template>
+
+<xsl:template match="caption">
+ <div class="caption">
+ <xsl:apply-templates />
+ </div>
+</xsl:template>
<xsl:template match="line_block">
<div class="line-block">