Commit 92d69699 authored by haroldcb's avatar haroldcb
Browse files

correction problème liens tableaux

parent df09e3ff
......@@ -332,7 +332,7 @@
<xsl:number level="any" count="table"/>
<object type="application/vnd.oasis.opendocument.spreadsheet" data="tables/table{$tableId}.ods">
<xsl:result-document href="tables/table{$tableId}.ods" method="html" encoding="UTF-8">
<xsl:result-document href="tables/table{$tableId}.ods" method="html" encoding="utf-8">
<xsl:element name="table">
<xsl:copy-of select="@*|node()"></xsl:copy-of>
......@@ -361,6 +361,8 @@
<xsl:template match="a[@class='image']" mode="table"/>
<xsl:template match="b" mode="table" priority="1">
<!-- b is not allowed, however em is allowed: replacing all b by em -->
<xsl:element name="em" namespace="">
......@@ -368,6 +370,8 @@
<xsl:template match="td/span[contains(@class, 'mw-edit')]" mode="table"/>
<!-- Balises pour les abbréviations -->
<xsl:template match="abbr" mode="table" priority="1">
<xsl:apply-templates select="node()" mode="textOnly"/>
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