Commit 6b246c0d authored by Raphaël's avatar Raphaël
Browse files

Line break enabled for hypertext links

parent c1ac4703
......@@ -27,6 +27,26 @@
<!-- Traitement des liens hypertextes pour autoriser le saut à la ligne-->
<xsl:template match="a">
<xsl:copy-of select="@*" />
<xsl:call-template name="addWordBreak">
<xsl:with-param name="input" select="."/>
<xsl:template name="addWordBreak">
<xsl:param name="input"/>
<xsl:value-of select="substring($input,1,1)"/><wbr />
<xsl:if test="substring($input,2)">
<xsl:call-template name="addWordBreak">
<xsl:with-param name="input" select="substring($input,2)"/>
<!-- Cleaning des footers vides -->
<xsl:template match="footer[not(node())]"/>
Supports Markdown
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