diff options
author | Lars Thorsen <[email protected]> | 2016-05-30 10:27:50 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2016-06-01 14:38:36 +0200 |
commit | bd52bd5e8082f358b84694ef45a8f44358d1a35c (patch) | |
tree | aa5fadcfc0a56462188df418a9f9f8203a8967a7 /lib/erl_docgen | |
parent | ac4db4074d33ecb86f433e032b8bcfc7883e8f36 (diff) | |
download | otp-bd52bd5e8082f358b84694ef45a8f44358d1a35c.tar.gz otp-bd52bd5e8082f358b84694ef45a8f44358d1a35c.tar.bz2 otp-bd52bd5e8082f358b84694ef45a8f44358d1a35c.zip |
[erl_docgen] Fix anchor bug for sections in ref manuals
Diffstat (limited to 'lib/erl_docgen')
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_html.xsl | 3 |
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> |