aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-12-02 09:06:03 +0100
committerHans Bolinder <[email protected]>2011-12-02 09:06:03 +0100
commit50b488753358d38348f2d4051bfcea8d860e739b (patch)
tree54bbd901ba7aa5fe84e8466c72ca0edca7b28640
parent74c767749b18588e9f229aaa9e03de7afaa2b146 (diff)
parenta5d542cfb573a182eea2ac464961ab1902bb1441 (diff)
downloadotp-50b488753358d38348f2d4051bfcea8d860e739b.tar.gz
otp-50b488753358d38348f2d4051bfcea8d860e739b.tar.bz2
otp-50b488753358d38348f2d4051bfcea8d860e739b.zip
Merge branch 'hb/erl_docgen/man_gen_fix/OTP-9759'
* hb/erl_docgen/man_gen_fix/OTP-9759: Fix a bug in the generation of manpages
-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 -->