diff options
Diffstat (limited to 'convert.xsl')
-rw-r--r-- | convert.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/convert.xsl b/convert.xsl index 3fe6be5..89f0d42 100644 --- a/convert.xsl +++ b/convert.xsl @@ -117,7 +117,7 @@ </xsl:template> <xsl:template match="/"> - <chapter cnumber="{//span[@class='chapter']}"> + <chapter cnumber="{//span[@class='chapter' and text()!='0']}"> <xsl:apply-templates select="//div[@class='markdown']/*" mode="conv"/> </chapter> </xsl:template> |