Commit ea4fafbe authored by bperraud's avatar bperraud
Browse files

Add exception for breaking links in ToC

parent 84edcb18
......@@ -39,7 +39,7 @@
<!-- Traitement des liens hypertextes pour autoriser le saut à la ligne-->
<xsl:template match="a">
<xsl:template match="a[not(@data-type = 'toc')]">
<xsl:copy-of select="@*" />
<xsl:call-template name="addWordBreak">
......@@ -78,6 +78,7 @@
<xsl:template name="toc-a">
<xsl:attribute name="data-type">toc</xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="./@id"/>
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