summaryrefslogtreecommitdiff
path: root/helpers/calc_text_func.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/calc_text_func.xsl')
-rw-r--r--helpers/calc_text_func.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/calc_text_func.xsl b/helpers/calc_text_func.xsl
index e2d379d9e7..c2a491c41a 100644
--- a/helpers/calc_text_func.xsl
+++ b/helpers/calc_text_func.xsl
@@ -5,7 +5,7 @@
<xsl:param name="func" select="BASE"/>
<xsl:template match="/">
- <xsl:for-each select="//section/h2[contains(text(), $func)]">
+ <xsl:for-each select="//section/h2[text() = $func ]">
<xsl:call-template name="section"/>
</xsl:for-each>