aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-12-01 09:42:12 +0100
committerHans Bolinder <[email protected]>2011-12-01 09:42:12 +0100
commita5d542cfb573a182eea2ac464961ab1902bb1441 (patch)
treeeb51fa05307e728e7533af99662849f7c62919c5 /lib/erl_docgen/priv/xsl
parent40653b86e7812fcbcdc73f2becdfbcc43f8814e7 (diff)
downloadotp-a5d542cfb573a182eea2ac464961ab1902bb1441.tar.gz
otp-a5d542cfb573a182eea2ac464961ab1902bb1441.tar.bz2
otp-a5d542cfb573a182eea2ac464961ab1902bb1441.zip
Fix a bug in the generation of manpages
User defined data types in function headers turned off bold face.
Diffstat (limited to 'lib/erl_docgen/priv/xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_man.xsl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_man.xsl b/lib/erl_docgen/priv/xsl/db_man.xsl
index 0aca74bc97..5234ba6bd0 100644
--- a/lib/erl_docgen/priv/xsl/db_man.xsl
+++ b/lib/erl_docgen/priv/xsl/db_man.xsl
@@ -586,7 +586,15 @@
</xsl:template>
<xsl:template match="seealso">
- <xsl:text>\fB</xsl:text><xsl:apply-templates/><xsl:text>\fR\&amp;</xsl:text>
+ <xsl:choose>
+ <xsl:when test="ancestor::head">
+ <!-- The header of Dialyzer specs -->
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>\fB</xsl:text><xsl:apply-templates/><xsl:text>\fR\&amp;</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<!-- Code -->