summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/html/verbatim.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/html/verbatim.xsl')
-rw-r--r--kdoctools/docbook/xsl/html/verbatim.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdoctools/docbook/xsl/html/verbatim.xsl b/kdoctools/docbook/xsl/html/verbatim.xsl
index 537b5cbc9..3ae02124b 100644
--- a/kdoctools/docbook/xsl/html/verbatim.xsl
+++ b/kdoctools/docbook/xsl/html/verbatim.xsl
@@ -62,7 +62,7 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="literallayout">
+<xsl:template match="literaltqlayout">
<xsl:param name="suppress-numbers" select="'0'"/>
<xsl:variable name="rtf">
@@ -252,10 +252,10 @@
select="preceding::screen[@linenumbering='numbered']"/>
</xsl:call-template>
</xsl:when>
- <xsl:when test="self::literallayout">
+ <xsl:when test="self::literaltqlayout">
<xsl:call-template name="lastLineNumber">
<xsl:with-param name="listings"
- select="preceding::literallayout[@linenumbering='numbered']"/>
+ select="preceding::literaltqlayout[@linenumbering='numbered']"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="self::address">
@@ -356,7 +356,7 @@
<xsl:param name="count" select="1"/>
<xsl:choose>
- <xsl:when test="contains($listing, '&#10;')">
+ <xsl:when test="tqcontains($listing, '&#10;')">
<xsl:call-template name="countLines">
<xsl:with-param name="listing" select="substring-after($listing, '&#10;')"/>
<xsl:with-param name="count" select="$count + 1"/>