Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xslt update based on metanorma/mn-native-pdf@ca5a79c1664cf512f66b248e00808911658c1997 #331

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions lib/isodoc/iec/iec.international-standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10064,8 +10064,11 @@
</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>

Expand Down Expand Up @@ -10132,7 +10135,10 @@

<!-- 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>

<!-- =============== -->
Expand Down
Loading