aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-05-30 10:27:50 +0200
committerLars Thorsen <[email protected]>2016-06-01 14:38:36 +0200
commitbd52bd5e8082f358b84694ef45a8f44358d1a35c (patch)
treeaa5fadcfc0a56462188df418a9f9f8203a8967a7
parentac4db4074d33ecb86f433e032b8bcfc7883e8f36 (diff)
downloadotp-bd52bd5e8082f358b84694ef45a8f44358d1a35c.tar.gz
otp-bd52bd5e8082f358b84694ef45a8f44358d1a35c.tar.bz2
otp-bd52bd5e8082f358b84694ef45a8f44358d1a35c.zip
[erl_docgen] Fix anchor bug for sections in ref manuals
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index 2f8fb05da6..89f743a90b 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -862,6 +862,9 @@
<xsl:template match="erlref/section|cref/section|comref/section|fileref/section|appref/section">
<xsl:param name="chapnum"/>
<h3>
+ <xsl:for-each select="marker">
+ <xsl:call-template name="marker-before-title"/>
+ </xsl:for-each>
<a name="{generate-id(title)}">
<xsl:value-of select="title"/>
</a>