1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-27 09:52:27 +01:00

Handle @link values other than "false" in help tags (other than <set>).

This commit is contained in:
Štěpán Němec
2011-10-14 14:55:45 +02:00
parent 0029f7bd16
commit d8be8727df

View File

@@ -303,6 +303,9 @@
<a style="color: inherit;">
<xsl:if test="not(@link) or @link != 'false'">
<xsl:choose>
<xsl:when test="@link and @link != 'false'">
<xsl:attribute name="href">dactyl://help-tag/<xsl:value-of select="@link"/></xsl:attribute>
</xsl:when>
<xsl:when test="contains(ancestor::*/@document-tags, concat(' ', $tag, ' '))">
<xsl:attribute name="href">#<xsl:value-of select="$tag-url"/></xsl:attribute>
</xsl:when>