Commit 355e15ff authored by Antoine's avatar Antoine
Browse files

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

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