]> granicus.if.org Git - docbook-dsssl/commitdiff
fix infinite recursion when inlinemediaobject in figure/title
authorbobstayton <bobs@sagehill.net>
Thu, 19 Jul 2018 06:52:54 +0000 (23:52 -0700)
committerbobstayton <bobs@sagehill.net>
Thu, 19 Jul 2018 07:13:42 +0000 (00:13 -0700)
xsl/html/graphics.xsl

index aa16a601f655fe46707ed456da8c5760dfde9800..efc70d2f4b58df2358a5f5d9a50ca9a872fcd249 100644 (file)
@@ -651,6 +651,8 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
                 <xsl:when test="$alt != ''">
                   <xsl:copy-of select="$alt"/>
                 </xsl:when>
+                <xsl:when test="ancestor::d:inlinemediaobject">
+                </xsl:when>
                 <xsl:when test="ancestor::d:figure">
                   <xsl:variable name="fig.title">
                     <xsl:apply-templates select="ancestor::d:figure/d:title/node()"/>