aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_pdf.xsl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-06-21 12:18:15 +0200
committerPatrik Nyblom <[email protected]>2011-06-21 12:18:15 +0200
commitb781506f927672fe22c3fba20e25d39ee64c9594 (patch)
treecba3158ffd2f41e6493342d884382bfb2eaa672e /lib/erl_docgen/priv/xsl/db_pdf.xsl
parent22d7ccd9ef7f07baa0ffa648c16f90bfd2c0e342 (diff)
parentb9d8ae5aa52774ed0ce12c9d21ad7f3670c2dca1 (diff)
downloadotp-b781506f927672fe22c3fba20e25d39ee64c9594.tar.gz
otp-b781506f927672fe22c3fba20e25d39ee64c9594.tar.bz2
otp-b781506f927672fe22c3fba20e25d39ee64c9594.zip
Merge branch 'dev' into major
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, 2 insertions, 0 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_pdf.xsl b/lib/erl_docgen/priv/xsl/db_pdf.xsl
index 5119e3e36a..a3d601d861 100644
--- a/lib/erl_docgen/priv/xsl/db_pdf.xsl
+++ b/lib/erl_docgen/priv/xsl/db_pdf.xsl
@@ -410,6 +410,8 @@
<!-- Search "local types" as well -->
<xsl:variable name="local_types"
select="ancestor::desc/preceding-sibling::type
+ [string-length(@name) > 0]
+ | ancestor::type_desc/preceding-sibling::type
[string-length(@name) > 0]"/>
<xsl:variable name="has_anno_in_local_type">
<xsl:for-each select="$local_types">