Skip to content

Commit

Permalink
xslt update based on metanorma/mn-native-pdf@6012377
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 authored Dec 20, 2024
1 parent 8f67736 commit 2f012dc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion lib/isodoc/ieee/ieee.amendment.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10118,7 +10118,16 @@
</xsl:when>
<xsl:otherwise>
<!-- output text from <link>text</link> -->
<xsl:apply-templates/>
<xsl:choose>
<xsl:when test="starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.')">
<xsl:call-template name="add-zero-spaces-link-java">
<xsl:with-param name="text" select="."/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</fo:basic-link>
Expand Down
11 changes: 10 additions & 1 deletion lib/isodoc/ieee/ieee.standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10118,7 +10118,16 @@
</xsl:when>
<xsl:otherwise>
<!-- output text from <link>text</link> -->
<xsl:apply-templates/>
<xsl:choose>
<xsl:when test="starts-with(., 'http://') or starts-with(., 'https://') or starts-with(., 'www.')">
<xsl:call-template name="add-zero-spaces-link-java">
<xsl:with-param name="text" select="."/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</fo:basic-link>
Expand Down

0 comments on commit 2f012dc

Please sign in to comment.