Skip to content

Commit

Permalink
MM-4902: NarrativeGenerator - Filter spaces in tel: hyperlinks (RFC 3…
Browse files Browse the repository at this point in the history
…966) (#205)
  • Loading branch information
jd-nictiz authored Jul 17, 2023
1 parent 44a3b67 commit d9eced4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/NarrativeGenerator.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12518,7 +12518,7 @@ The full text of the license is available at http://www.gnu.org/copyleft/lesser.
<xsl:value-of select="concat('mailto:', normalize-space(f:value/@value))"/>
</xsl:when>
<xsl:when test="f:system/@value = ('phone', 'fax', 'pager', 'sms')">
<xsl:value-of select="concat('tel:', normalize-space(f:value/@value))"/>
<xsl:value-of select="concat('tel:', translate(normalize-space(f:value/@value), ' ', ''))"/>
</xsl:when>
</xsl:choose>
</xsl:variable>
Expand Down

0 comments on commit d9eced4

Please sign in to comment.