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