summaryrefslogtreecommitdiff
path: root/templates/reST.xsl
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-08-17 14:05:19 +0200
committerdakkar <dakkar@thenautilus.net>2009-08-17 14:05:19 +0200
commitd37042827b842c45d8e6f8b657e131618544d1f0 (patch)
tree9ecdf669a561de591df47b9258825dd984ec733e /templates/reST.xsl
parentimages for modelli/getter (diff)
downloadthenautilus-d37042827b842c45d8e6f8b657e131618544d1f0.tar.gz
thenautilus-d37042827b842c45d8e6f8b657e131618544d1f0.tar.bz2
thenautilus-d37042827b842c45d8e6f8b657e131618544d1f0.zip
fixed brokenhill diary
added code to transform "figure" DU element
Diffstat (limited to 'templates/reST.xsl')
-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">