Commit e597a89a authored by Raphaël's avatar Raphaël

Correction for headers and sections flattenizer

parent d49f64e7
......@@ -46,17 +46,11 @@
<xsl:template match="header">
<xsl:template match="div">
<xsl:template match="h6">
<xsl:variable name="level" select="count(ancestor::section) + 1"/>
<xsl:element name="h{$level}">
<xsl:value-of select="h6"/>
<xsl:value-of select="."/>
<xsl:template match="h6">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment