[yelp-xsl/wip/html5] Typo fixes
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl/wip/html5] Typo fixes
- Date: Tue, 21 Jun 2016 12:54:56 +0000 (UTC)
commit 1cf5693f8a48004c7a86b06c73114353a8ab99dc
Author: Shaun McCance <shaunm gnome org>
Date: Tue Jun 21 08:54:39 2016 -0400
Typo fixes
xslt/docbook/html/db2html-classsynopsis.xsl | 2 +-
xslt/mallard/common/mal-if.xsl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-classsynopsis.xsl b/xslt/docbook/html/db2html-classsynopsis.xsl
index 10e5a09..c72e9ea 100644
--- a/xslt/docbook/html/db2html-classsynopsis.xsl
+++ b/xslt/docbook/html/db2html-classsynopsis.xsl
@@ -65,7 +65,7 @@ at the root of a DocBook document.
classsynopsis | constructorsynopsis | fieldsynopsis |
methodsynopsis | destructorsynopsis |
db:classsynopsis | db:constructorsynopsis | db:fieldsynopsis |
- db:methodsynopsis | db:destructorsynopsis |">
+ db:methodsynopsis | db:destructorsynopsis ">
<xsl:variable name="if"><xsl:call-template name="db.profile.test"/></xsl:variable>
<xsl:if test="$if != ''">
<xsl:variable name="language">
diff --git a/xslt/mallard/common/mal-if.xsl b/xslt/mallard/common/mal-if.xsl
index 3507f36..9a22159 100644
--- a/xslt/mallard/common/mal-if.xsl
+++ b/xslt/mallard/common/mal-if.xsl
@@ -189,7 +189,7 @@ of dynamically showing or hiding content based on those tokens.
<xsl:otherwise>
<xsl:variable name="subcond">
<xsl:for-each select="str:tokenize($subexpr, ' ')[.!='1']">
- <xsl:if test="position != 1">
+ <xsl:if test="position() != 1">
<xsl:text>__</xsl:text>
</xsl:if>
<xsl:value-of select="."/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]