[library-web] do not transform https URIs
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] do not transform https URIs
- Date: Sun, 26 Jan 2014 09:31:06 +0000 (UTC)
commit d1f41813967197567335bcc14c2bc1d52e865194
Author: Frédéric Péters <fpeters 0d be>
Date: Sun Jan 26 09:12:26 2014 +0000
do not transform https URIs
data/xslt/html2html.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/xslt/html2html.xsl b/data/xslt/html2html.xsl
index 8c8437b..c5f9a51 100644
--- a/data/xslt/html2html.xsl
+++ b/data/xslt/html2html.xsl
@@ -85,7 +85,7 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
<xsl:template match="@href" mode="gtk-doc">
<xsl:attribute name="href">
<xsl:choose>
- <xsl:when test="starts-with(., 'http://developer.gnome.org/') or starts-with(.,
'http://library.gnome.org/devel/') or starts-with(., 'https://developer.gnome.org/') or (not(starts-with(.,
'http://')) and not(starts-with(., 'ftp://')))">
+ <xsl:when test="starts-with(., 'http://developer.gnome.org/') or starts-with(.,
'http://library.gnome.org/devel/') or starts-with(., 'https://developer.gnome.org/') or (not(starts-with(.,
'http://')) and not(starts-with(., 'https://')) and not(starts-with(., 'ftp://')))">
<xsl:choose>
<xsl:when test="contains(., '/gobject/stable/')">
<xsl:value-of select="concat('../../gobject/stable/', substring-after(., '/gobject/stable/'))"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]