Commit 355e15ff authored by Antoine's avatar Antoine

Merge branch 'master' of https://gitlab.utc.fr/crozatst/hdoc

parents 3a3143ea ff17acc7
......@@ -27,7 +27,7 @@
<!-- Header in hdoc -->
<xsl:template match="node[1]" mode="header">
<title>
<xsl:value-of select="@TEXT"/>
<xsl:value-of select="utc:string-remove-order(@TEXT)"/>
<xsl:value-of select="richcontent"/>
</title>
<meta charset="utf-8"/>
......@@ -39,7 +39,7 @@
<xsl:element name="section">
<header>
<h1>
<xsl:value-of select="@TEXT"/>
<xsl:value-of select="utc:string-remove-order(@TEXT)"/>
<xsl:value-of select="richcontent"/>
</h1>
</header>
......@@ -59,7 +59,7 @@
<!--Conclusion-->
<xsl:if test="child::*[contains(@TEXT, '#conclu')]">
<xsl:element name="section">
<header><h1>Concluson</h1></header>
<header><h1>Conclusion</h1></header>
<footer>
<xsl:element name="div">
<xsl:attribute name="data-hdoc-type">conclusion</xsl:attribute>
......@@ -84,7 +84,7 @@
</xsl:if>
<header>
<h1>
<xsl:value-of select="@TEXT"/>
<xsl:value-of select="utc:string-remove-order(@TEXT)"/>
<xsl:value-of select="richcontent"/>
</h1>
</header>
......@@ -114,7 +114,7 @@
<xsl:template match="node[contains(@TEXT, '#intro')] | node[contains(@TEXT, '#conclu')]" priority="3"/>
<xsl:template match="richcontent">
<xsl:value-of select="html/body/p"/>
<xsl:value-of select="utc:string-remove-order(html/body/p)"/>
</xsl:template>
<!-- Utility functions -->
......
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