Skip to content

Commit

Permalink
common.xslt updated for http link, metanorma/bipm-si-brochure#271
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Dec 20, 2024
1 parent 3f9e410 commit 3b32852
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion xslt_src/common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12762,7 +12762,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 3b32852

Please sign in to comment.