aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_pdf.xsl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-06-20 14:11:32 +0200
committerHans Bolinder <[email protected]>2011-06-20 14:11:32 +0200
commit9b9dc0d0c6aa9dc002c6581eb76b891e707a492a (patch)
treea1b86c9dda70fe0f96bc6d21c74b7561d75fad53 /lib/erl_docgen/priv/xsl/db_pdf.xsl
parentd798caa64f4bb7509e89e6b8161c7eb196bc7270 (diff)
parent4b8d1bbef490ad8a6b3e3d64c0fdcb8a9f57d209 (diff)
downloadotp-9b9dc0d0c6aa9dc002c6581eb76b891e707a492a.tar.gz
otp-9b9dc0d0c6aa9dc002c6581eb76b891e707a492a.tar.bz2
otp-9b9dc0d0c6aa9dc002c6581eb76b891e707a492a.zip
Merge branch 'hb/erl_docgen/bugfix/OTP-9360' into dev
* hb/erl_docgen/bugfix/OTP-9360: Bugfixes
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">