mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-06 22:45:46 +01:00
Replace XPath-based hint paths with CSS selectors. Needs cleanup and validation.
--HG-- extra : rebase_source : 83035481bf697b7b57e17e516b0dfc61329164c6
This commit is contained in:
@@ -231,7 +231,9 @@
|
||||
|
||||
<xsl:template match="dactyl:default[not(@type='plain')]" mode="help-2">
|
||||
<xsl:variable name="type" select="preceding-sibling::dactyl:type[1] | following-sibling::dactyl:type[1]"/>
|
||||
<span dactyl:highlight="HelpDefault">(default:<xsl:text> </xsl:text>
|
||||
<span dactyl:highlight="HelpDefault">
|
||||
<xsl:copy-of select="@*"/>
|
||||
<xsl:text>(default: </xsl:text>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$type = 'string'">
|
||||
<span dactyl:highlight="HelpString" delim="'"><xsl:apply-templates mode="help-1"/></span>
|
||||
|
||||
Reference in New Issue
Block a user