aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_eix.xsl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-12-01 13:02:49 +0100
committerLars Thorsen <[email protected]>2011-12-05 13:45:52 +0100
commit96a182feca5f779b14bb855d0173892c75dfc842 (patch)
tree4a86a4244578d1b0225ecd9cb6bcbc7b4fb90a9f /lib/erl_docgen/priv/xsl/db_eix.xsl
parent35afc84d71ae5152a78cc03c3740c37fdf54e734 (diff)
downloadotp-96a182feca5f779b14bb855d0173892c75dfc842.tar.gz
otp-96a182feca5f779b14bb855d0173892c75dfc842.tar.bz2
otp-96a182feca5f779b14bb855d0173892c75dfc842.zip
[erl_docgen] Fix arity calculation bug
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_eix.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_eix.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_eix.xsl b/lib/erl_docgen/priv/xsl/db_eix.xsl
index 55540317f6..249e6950f7 100644
--- a/lib/erl_docgen/priv/xsl/db_eix.xsl
+++ b/lib/erl_docgen/priv/xsl/db_eix.xsl
@@ -328,7 +328,7 @@
<xsl:choose>
<xsl:when test="string-length($tmp1) > 0 or starts-with($string, $start)">
<xsl:variable name="tmp2">
- <xsl:value-of select="substring-after($string, $end)"/>
+ <xsl:value-of select="substring-after(substring-after($string, $start), $end)"/>
</xsl:variable>
<xsl:variable name="retstring">
<xsl:call-template name="remove-paren">