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 3df44cd commit 1d776f3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/isodoc/cc/cc.standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -6870,7 +6870,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 1d776f3

Please sign in to comment.