aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_pdf.xsl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-12-05 15:01:16 +0100
committerLars Thorsen <[email protected]>2011-12-05 15:01:16 +0100
commit27e3d767e0dd10ab4360559cfeead6977feddda6 (patch)
tree4a86a4244578d1b0225ecd9cb6bcbc7b4fb90a9f /lib/erl_docgen/priv/xsl/db_pdf.xsl
parent35afc84d71ae5152a78cc03c3740c37fdf54e734 (diff)
parent96a182feca5f779b14bb855d0173892c75dfc842 (diff)
downloadotp-27e3d767e0dd10ab4360559cfeead6977feddda6.tar.gz
otp-27e3d767e0dd10ab4360559cfeead6977feddda6.tar.bz2
otp-27e3d767e0dd10ab4360559cfeead6977feddda6.zip
Merge branch 'lars/erl_docgen/arity-calculation-bug/OTP-9772'
* lars/erl_docgen/arity-calculation-bug/OTP-9772: [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">