diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2013-11-13 12:33:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-13 14:38:21 +0000 |
commit | b5026aaabf49b9c6e23bf9329674de2c24272c4e (patch) | |
tree | 70f8d4719bb747bf5f42ae7b6bbe9672b4e27c1a /xmlhelp/util | |
parent | 5ce50b8d171c9d86d2175dd35b1e7ef23255e895 (diff) |
i123670 - Add support for https links
(cherry picked from commit a2afc19e04f8bb3089cbfef34960ad8f0a3b99bf)
Diffstat (limited to 'xmlhelp/util')
-rw-r--r-- | xmlhelp/util/main_transform.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl index 2834668dbbf5..b6b9c2e6c76c 100644 --- a/xmlhelp/util/main_transform.xsl +++ b/xmlhelp/util/main_transform.xsl @@ -628,7 +628,7 @@ <xsl:variable name="archive"><xsl:value-of select="concat(substring-before(substring-after(@href,'text/'),'/'),'/')"/></xsl:variable> <xsl:variable name="dbpostfix"><xsl:call-template name="createDBpostfix"><xsl:with-param name="archive" select="$archive"/></xsl:call-template></xsl:variable> <xsl:choose> - <xsl:when test="starts-with(@href,'http://')"> <!-- web links --> + <xsl:when test="starts-with(@href,'http://') or starts-with(@href,'https://')"> <!-- web links --> <a href="{@href}"><xsl:apply-templates /></a> </xsl:when> <xsl:when test="contains(@href,'#')"> |