diff options
author | Shaun McCance <shaunm@redhat.com> | 2017-09-15 13:04:38 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2017-09-15 13:04:38 -0400 |
commit | 804d9e9467eb9106a4ec6a73aa4528e75b4d2f2c (patch) | |
tree | 3d9a8af4a68ea54d9ee444c2566981c446fc5d14 | |
parent | 3f2a19c4366257ff5846720b28f7db1b103f541c (diff) | |
download | yelp-xsl-804d9e9467eb9106a4ec6a73aa4528e75b4d2f2c.tar.gz |
mal-if.xsl: Fix lang:C test token
-rw-r--r-- | xslt/mallard/common/mal-if.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/mallard/common/mal-if.xsl b/xslt/mallard/common/mal-if.xsl index 9a221593..ed43862f 100644 --- a/xslt/mallard/common/mal-if.xsl +++ b/xslt/mallard/common/mal-if.xsl @@ -234,7 +234,7 @@ of dynamically showing or hiding content based on those tokens. <xsl:choose> <xsl:when test="$token = 'lang:C' or $token = 'lang:c'"> <xsl:choose> - <xsl:when test="not(ancestor-or-self::*/@xml:lang)"> + <xsl:when test="not($node/ancestor-or-self::*/@xml:lang)"> <xsl:text>1</xsl:text> </xsl:when> <xsl:otherwise> |