aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl')
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
index cb8c087fd..908d7ed2a 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
@@ -928,7 +928,9 @@
<h1>
<xsl:apply-templates select="." mode="class.attribute"/>
- <a id="{$id}"/>
+ <xsl:if test="$generate.id.attributes = 0">
+ <a id="{$id}"/>
+ </xsl:if>
<xsl:choose>
<xsl:when test="$show.revisionflag != 0 and @revisionflag">
<span class="{@revisionflag}">