aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2014-07-26 14:06:24 +0200
committerMarkus Meier <maekke@gentoo.org>2014-07-26 14:06:24 +0200
commit90f8524217db849f8c3998ce202423e71e35ea68 (patch)
tree2d1bf67a5089bb54e1ee46ccd99e762e0e6df2b7 /devbook.xsl
parentmake pre's span.Constant darker to be more readable (diff)
downloaddevmanual-90f8524217db849f8c3998ce202423e71e35ea68.tar.gz
devmanual-90f8524217db849f8c3998ce202423e71e35ea68.tar.bz2
devmanual-90f8524217db849f8c3998ce202423e71e35ea68.zip
drop <a> in headings
Diffstat (limited to 'devbook.xsl')
-rw-r--r--devbook.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/devbook.xsl b/devbook.xsl
index 0b6f154..699d14e 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -33,7 +33,7 @@
</xsl:call-template>
</xsl:variable>
- <h2><a name="{$anchor}"><xsl:apply-templates select="title"/></a></h2>
+ <h2 id="{$anchor}"><xsl:apply-templates select="title"/></h2>
<xsl:apply-templates select="(body|subsection)"/>
</div>
</xsl:template>
@@ -46,7 +46,7 @@
</xsl:call-template>
</xsl:variable>
- <h3><a name="{$anchor}"><xsl:apply-templates select="title"/></a></h3>
+ <h3 id="{$anchor}"><xsl:apply-templates select="title"/></h3>
<xsl:apply-templates select="(body|subsubsection)"/>
<!-- If you need, change here to add more nesting levels -->
@@ -61,7 +61,7 @@
</xsl:call-template>
</xsl:variable>
- <h4><a name="{$anchor}"><xsl:apply-templates select="title"/></a></h4>
+ <h4 id="{$anchor}"><xsl:apply-templates select="title"/></h4>
<xsl:apply-templates select="(body)"/>
<!-- If you need, change here to add more nesting levels -->