aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/xhtml/lfs-titles.xsl6
1 files changed, 4 insertions, 2 deletions
diff --git a/stylesheets/xhtml/lfs-titles.xsl b/stylesheets/xhtml/lfs-titles.xsl
index be65a93ce..e44108e59 100644
--- a/stylesheets/xhtml/lfs-titles.xsl
+++ b/stylesheets/xhtml/lfs-titles.xsl
@@ -78,8 +78,10 @@
<a id="{@id}" name="{@id}"/>
</xsl:if>
<h2 class="{name(.)}">
- <xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text>. </xsl:text>
+ <xsl:if test="not(ancestor::preface)">
+ <xsl:apply-templates select="." mode="label.markup"/>
+ <xsl:text>. </xsl:text>
+ </xsl:if>
<xsl:value-of select="title"/>
</h2>
</div>