diff options
author | Daniel Mack <github@zonque.org> | 2015-11-23 11:26:00 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-11-23 11:26:00 +0100 |
commit | 2b65dcd63127e310c3c3d4502e03be77035979b2 (patch) | |
tree | 57f29a5de6dd99b61f951463a69fb01aa822550d /man/custom-html.xsl | |
parent | 6098bb0dc31b1c472ab868088d04234352c44b75 (diff) | |
parent | 958caa58c089037ffb8cd71bc342bb9d798a6dd3 (diff) |
Merge pull request #1990 from keszybz/html-links
man: include the target name when linking to man pages in html output
Diffstat (limited to 'man/custom-html.xsl')
-rw-r--r-- | man/custom-html.xsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/custom-html.xsl b/man/custom-html.xsl index 84c23014e4..e89d73e7f1 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -37,7 +37,8 @@ <xsl:template match="citerefentry[not(@project)]"> <a> <xsl:attribute name="href"> - <xsl:value-of select="refentrytitle"/><xsl:text>.html</xsl:text> + <xsl:value-of select="refentrytitle"/><xsl:text>.html#</xsl:text> + <xsl:value-of select="refentrytitle/@target"/> </xsl:attribute> <xsl:call-template name="inline.charseq"/> </a> |