mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 01:12:31 +02:00
Handle @link values other than "false" in help tags (other than <set>).
This commit is contained in:
1 parent
0029f7bd16
commit
d8be8727df
1 file changed
+3
@@ -303,6 +303,9 @@
|
|||||||
<a style="color: inherit;">
|
<a style="color: inherit;">
|
||||||
<xsl:if test="not(@link) or @link != 'false'">
|
<xsl:if test="not(@link) or @link != 'false'">
|
||||||
<xsl:choose>
|
<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:when test="contains(ancestor::*/@document-tags, concat(' ', $tag, ' '))">
|
||||||
<xsl:attribute name="href">#<xsl:value-of select="$tag-url"/></xsl:attribute>
|
<xsl:attribute name="href">#<xsl:value-of select="$tag-url"/></xsl:attribute>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|||||||
Reference in new issue
Block a user