[Libreoffice-commits] core.git: Branch 'aoo/trunk' - xmlhelp/util

Ariel Constenla-Haile arielch at apache.org
Wed Nov 13 06:08:26 PST 2013


 xmlhelp/util/main_transform.xsl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a2afc19e04f8bb3089cbfef34960ad8f0a3b99bf
Author: Ariel Constenla-Haile <arielch at apache.org>
Date:   Wed Nov 13 12:33:51 2013 +0000

    i123670 - Add support for https links

diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl
index 5d84746..4c6acf2 100644
--- a/xmlhelp/util/main_transform.xsl
+++ b/xmlhelp/util/main_transform.xsl
@@ -613,7 +613,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