lib/isodoc/un/un.recommendation.xsl in metanorma-un-0.12.13 vs lib/isodoc/un/un.recommendation.xsl in metanorma-un-0.12.14

- old
+ new

@@ -8685,12 +8685,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> @@ -8753,10 +8756,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