From: <tom...@us...> - 2013-10-29 21:37:22
|
Revision: 9827 http://sourceforge.net/p/docbook/code/9827 Author: tom_schr Date: 2013-10-29 21:37:18 +0000 (Tue, 29 Oct 2013) Log Message: ----------- Fixed [#1317]: process alt in inlinemediaobject Modified Paths: -------------- trunk/xsl/html/graphics.xsl Modified: trunk/xsl/html/graphics.xsl =================================================================== --- trunk/xsl/html/graphics.xsl 2013-10-29 05:07:39 UTC (rev 9826) +++ trunk/xsl/html/graphics.xsl 2013-10-29 21:37:18 UTC (rev 9827) @@ -1307,6 +1307,9 @@ <xsl:when test="ancestor::mediaobject/alt"> <xsl:apply-templates select="ancestor::mediaobject/alt"/> </xsl:when> + <xsl:when test="ancestor::inlinemediaobject/alt"> + <xsl:apply-templates select="ancestor::inlinemediaobject/alt"/> + </xsl:when> <xsl:otherwise> <xsl:apply-templates select="$phrases[not(@role) or @role!='tex'][1]"/> </xsl:otherwise> @@ -1453,6 +1456,10 @@ <!-- ==================================================================== --> +<xsl:template match="inlinemediaobject/alt"> + <xsl:apply-templates/> +</xsl:template> + <xsl:template match="mediaobject/alt"> <xsl:apply-templates/> </xsl:template> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |