lib/isodoc/iho/iho.specification.xsl in metanorma-iho-0.9.11 vs lib/isodoc/iho/iho.specification.xsl in metanorma-iho-0.9.12

- old
+ new

@@ -8629,12 +8629,15 @@ <xsl:template match="*[local-name() = 'tab']" mode="contents_item"> <xsl:text> </xsl:text> </xsl:template> <xsl:template match="*[local-name() = 'strong']" mode="contents_item"> + <xsl:param name="element"/> <xsl:copy> - <xsl:apply-templates mode="contents_item"/> + <xsl:apply-templates mode="contents_item"> + <xsl:with-param name="element" select="$element"/> + </xsl:apply-templates> </xsl:copy> </xsl:template> <xsl:template match="*[local-name() = 'em']" mode="contents_item"> <xsl:copy> @@ -8697,10 +8700,13 @@ <xsl:value-of select="."/> </xsl:template> <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output --> <xsl:template match="*[local-name() = 'span']" mode="contents_item"> - <xsl:apply-templates mode="contents_item"/> + <xsl:param name="element"/> + <xsl:apply-templates mode="contents_item"> + <xsl:with-param name="element" select="$element"/> + </xsl:apply-templates> </xsl:template> <!-- =============== --> <!-- sourcecode --> <!-- =============== --> \ No newline at end of file