public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sven Vermeulen (swift)" <swift@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo commit in xml/htdocs/xsl: guidexml2wiki.xsl
Date: Mon,  9 Dec 2013 08:47:06 +0000 (UTC)	[thread overview]
Message-ID: <20131209084706.5A5D12004B@flycatcher.gentoo.org> (raw)

swift       13/12/09 08:47:06

  Modified:             guidexml2wiki.xsl
  Log:
  Fix namelinks uri usage

Revision  Changes    Path
1.10                 xml/htdocs/xsl/guidexml2wiki.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guidexml2wiki.xsl?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guidexml2wiki.xsl?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guidexml2wiki.xsl?r1=1.9&r2=1.10

Index: guidexml2wiki.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guidexml2wiki.xsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- guidexml2wiki.xsl	29 Aug 2013 18:56:10 -0000	1.9
+++ guidexml2wiki.xsl	9 Dec 2013 08:47:06 -0000	1.10
@@ -104,7 +104,7 @@
 -->
 <xsl:template match="const"><xsl:apply-templates /></xsl:template>
 
-<xsl:template match="uri"><xsl:if test="string-length(preceding-sibling::text()) &gt; 1"><xsl:text> </xsl:text></xsl:if><xsl:choose><xsl:when test="starts-with(@link, 'http')">[<xsl:value-of select="@link" /><xsl:text> </xsl:text><xsl:value-of select="normalize-space(text())" />]</xsl:when><xsl:when test="not(starts-with(@link, '#'))">[http://www.gentoo.org/<xsl:value-of select="@link"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space(text())" />]</xsl:when><xsl:when test="starts-with(@link, '#')">[[<xsl:value-of select="@link" />]]</xsl:when></xsl:choose><xsl:if test="string-length(following-sibling::text()) &gt; 1"><xsl:text> </xsl:text></xsl:if></xsl:template>
+<xsl:template match="uri"><xsl:if test="string-length(preceding-sibling::text()) &gt; 1"><xsl:text> </xsl:text></xsl:if><xsl:choose><xsl:when test="starts-with(@link, 'http')">[<xsl:value-of select="@link" /><xsl:text> </xsl:text><xsl:value-of select="normalize-space(text())" />]</xsl:when><xsl:when test="not(@link)">[<xsl:value-of select="normalize-space(text())" /><xsl:text> </xsl:text><xsl:value-of select="normalize-space(text())" />]</xsl:when><xsl:when test="not(starts-with(@link, '#'))">[http://www.gentoo.org/<xsl:value-of select="@link"/><xsl:text> </xsl:text><xsl:value-of select="normalize-space(text())" />]</xsl:when><xsl:when test="starts-with(@link, '#')">[[<xsl:value-of select="@link" />]]</xsl:when></xsl:choose><xsl:if test="string-length(following-sibling::text()) &gt; 1"><xsl:text> </xsl:text></xsl:if></xsl:template>
 
 <xsl:template match="e"> ''<xsl:apply-templates />'' </xsl:template>
 





             reply	other threads:[~2013-12-09  8:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09  8:47 Sven Vermeulen (swift) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-01-03 17:49 [gentoo-commits] gentoo commit in xml/htdocs/xsl: guidexml2wiki.xsl Sven Vermeulen (swift)
2013-08-29 18:56 Sven Vermeulen (swift)
2013-08-03 16:35 Sven Vermeulen (swift)
2013-07-27 20:07 Sven Vermeulen (swift)
2013-07-24 20:51 Sven Vermeulen (swift)
2013-07-22 13:48 Sven Vermeulen (swift)
2013-07-22 11:57 Sven Vermeulen (swift)
2013-07-20 18:12 Sven Vermeulen (swift)
2013-07-08 19:54 Sven Vermeulen (swift)
2013-06-13 16:30 Sven Vermeulen (swift)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131209084706.5A5D12004B@flycatcher.gentoo.org \
    --to=swift@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox