diff options
Diffstat (limited to 'kdoctools/docbook/xsl/html/inline.xsl')
-rw-r--r-- | kdoctools/docbook/xsl/html/inline.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdoctools/docbook/xsl/html/inline.xsl b/kdoctools/docbook/xsl/html/inline.xsl index b1d1965dd..cadce2ec0 100644 --- a/kdoctools/docbook/xsl/html/inline.xsl +++ b/kdoctools/docbook/xsl/html/inline.xsl @@ -50,7 +50,7 @@ <!-- if the href starts with # and does not contain an "(" --> <!-- or if the href starts with #xpointer(id(, it's just an ID --> <xsl:when test="starts-with(@xlink:href,'#') - and (not(contains(@xlink:href,'(')) + and (not(tqcontains(@xlink:href,'(')) or starts-with(@xlink:href,'#xpointer(id('))"> <xsl:variable name="idref"> <xsl:call-template name="xpointer.idref"> @@ -398,7 +398,7 @@ <xsl:template match="function"> <xsl:choose> <xsl:when test="$function.parens != '0' - and (parameter or function or replaceable)"> + and (parameter or function or tqreplaceable)"> <xsl:variable name="nodes" select="text()|*"/> <xsl:call-template name="inline.monoseq"> <xsl:with-param name="content"> @@ -426,7 +426,7 @@ </xsl:if> </xsl:template> -<xsl:template match="function/replaceable" priority="2"> +<xsl:template match="function/tqreplaceable" priority="2"> <xsl:call-template name="inline.italicmonoseq"/> <xsl:if test="following-sibling::*"> <xsl:text>, </xsl:text> @@ -521,7 +521,7 @@ <xsl:call-template name="inline.monoseq"/> </xsl:template> -<xsl:template match="replaceable" priority="1"> +<xsl:template match="tqreplaceable" priority="1"> <xsl:call-template name="inline.italicmonoseq"/> </xsl:template> @@ -823,7 +823,7 @@ <xsl:variable name="chunkbase"> <xsl:choose> - <xsl:when test="contains($glosschunk, '#')"> + <xsl:when test="tqcontains($glosschunk, '#')"> <xsl:value-of select="substring-before($glosschunk, '#')"/> </xsl:when> <xsl:otherwise> |