[library-web] Comment out mal.link.target.custom
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] Comment out mal.link.target.custom
- Date: Wed, 5 Feb 2020 17:26:09 +0000 (UTC)
commit f852ecb7b687289cde46935316dd367c18c39b6a
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Feb 5 18:25:59 2020 +0100
Comment out mal.link.target.custom
data/xslt/mal2html.xsl | 50 +++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/data/xslt/mal2html.xsl b/data/xslt/mal2html.xsl
index 99fbacf..dc8959a 100644
--- a/data/xslt/mal2html.xsl
+++ b/data/xslt/mal2html.xsl
@@ -211,31 +211,31 @@ $(document).ready(function () {
</html>
</xsl:template>
-<xsl:template name="mal.link.target.custom">
- <xsl:param name="node" select="."/>
- <xsl:param name="action" select="$node/@action"/>
- <xsl:param name="xref" select="$node/@xref"/>
- <xsl:param name="href" select="$node/@href"/>
- <xsl:if test="substring($href, 0, 7) = 'ghelp:'">../../<xsl:choose>
- <xsl:when test="substring-before(substring-after($href, 'ghelp:'), '?')">
- <xsl:value-of select="substring-before(substring-after($href, 'ghelp:'), '?')"/>
- </xsl:when>
- <xsl:when test="substring-before(substring-after($href, 'ghelp:'), '#')">
- <xsl:value-of select="substring-before(substring-after($href, 'ghelp:'), '#')"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="substring-after($href, 'ghelp:')"/>
- </xsl:otherwise>
- </xsl:choose>/stable/<xsl:choose>
- <xsl:when test="substring-after($href, '?')">
- <xsl:value-of select="substring-after($href, '?')"/>
- </xsl:when>
- <xsl:when test="substring-after($href, '#')">
- <xsl:value-of select="substring-after($href, '#')"/>
- </xsl:when>
- </xsl:choose></xsl:if>
-
-</xsl:template>
+<!-- <xsl:template name="mal.link.target.custom"> -->
+<!-- <xsl:param name="node" select="."/> -->
+<!-- <xsl:param name="action" select="$node/@action"/> -->
+<!-- <xsl:param name="xref" select="$node/@xref"/> -->
+<!-- <xsl:param name="href" select="$node/@href"/> -->
+<!-- <xsl:if test="substring($href, 0, 7) = 'ghelp:'">../../<xsl:choose> -->
+<!-- <xsl:when test="substring-before(substring-after($href, 'ghelp:'), '?')"> -->
+<!-- <xsl:value-of select="substring-before(substring-after($href, 'ghelp:'), '?')"/> -->
+<!-- </xsl:when> -->
+<!-- <xsl:when test="substring-before(substring-after($href, 'ghelp:'), '#')"> -->
+<!-- <xsl:value-of select="substring-before(substring-after($href, 'ghelp:'), '#')"/> -->
+<!-- </xsl:when> -->
+<!-- <xsl:otherwise> -->
+<!-- <xsl:value-of select="substring-after($href, 'ghelp:')"/> -->
+<!-- </xsl:otherwise> -->
+<!-- </xsl:choose>/stable/<xsl:choose> -->
+<!-- <xsl:when test="substring-after($href, '?')"> -->
+<!-- <xsl:value-of select="substring-after($href, '?')"/> -->
+<!-- </xsl:when> -->
+<!-- <xsl:when test="substring-after($href, '#')"> -->
+<!-- <xsl:value-of select="substring-after($href, '#')"/> -->
+<!-- </xsl:when> -->
+<!-- </xsl:choose></xsl:if> -->
+
+<!-- </xsl:template> -->
</xsl:stylesheet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]