[Libreoffice-commits] core.git: xmlhelp/util
Ariel Constenla-Haile
arielch at apache.org
Wed Nov 13 06:39:02 PST 2013
xmlhelp/util/main_transform.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b5026aaabf49b9c6e23bf9329674de2c24272c4e
Author: Ariel Constenla-Haile <arielch at apache.org>
Date: Wed Nov 13 12:33:51 2013 +0000
i123670 - Add support for https links
(cherry picked from commit a2afc19e04f8bb3089cbfef34960ad8f0a3b99bf)
diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl
index 2834668..b6b9c2e 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,'#')">
More information about the Libreoffice-commits
mailing list