]> granicus.if.org Git - docbook-dsssl/commitdiff
Restore formatting of figure/caption that was broken in 1.77.1.
authorBob Stayton <bobs@sagehill.net>
Mon, 18 Jun 2012 16:52:41 +0000 (16:52 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 18 Jun 2012 16:52:41 +0000 (16:52 +0000)
xsl/fo/graphics.xsl

index 215a6b0b19121e4efcffb90065d537ee7240dab2..24041e8a055c535acb632ccd277fb5b9c41f3799 100644 (file)
 
 <!-- ==================================================================== -->
 
-<xsl:template match="mediaobject/caption">
+<xsl:template match="mediaobject/caption|figure/caption">
   <fo:block>
     <xsl:if test="@align = 'right' or @align = 'left' or @align='center'">
       <xsl:attribute name="text-align"><xsl:value-of