aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_html.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_html.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_html.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index a9052f29e5..bdef7bfd3d 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -2184,7 +2184,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">