aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_pdf.xsl
diff options
context:
space:
mode:
authorLars Thorsen <lars@erlang.org>2011-12-01 13:02:49 +0100
committerLars Thorsen <lars@erlang.org>2011-12-05 13:45:52 +0100
commit96a182feca5f779b14bb855d0173892c75dfc842 (patch)
tree4a86a4244578d1b0225ecd9cb6bcbc7b4fb90a9f /lib/erl_docgen/priv/xsl/db_pdf.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_pdf.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_pdf.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_pdf.xsl b/lib/erl_docgen/priv/xsl/db_pdf.xsl
index 48a7a026c1..4ed4fa14c4 100644
--- a/lib/erl_docgen/priv/xsl/db_pdf.xsl
+++ b/lib/erl_docgen/priv/xsl/db_pdf.xsl
@@ -1680,7 +1680,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">