[Libreoffice-commits] core.git: filter/source
Robert Antoni Buj Gelonch
robert.buj at gmail.com
Fri May 15 04:58:31 PDT 2015
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 1ab97fe7a244d091def863a1279e67394167144a
Author: Robert Antoni Buj Gelonch <robert.buj at gmail.com>
Date: Thu May 14 20:02:39 2015 +0200
odf2xhtml: tdf#66305 do not display the page numbers in TOC
Change-Id: I480f8f2c7fcc8e0c9d2ecc0c370284821633c45d
Reviewed-on: https://gerrit.libreoffice.org/15734
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 59a662a..e86225b 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -430,6 +430,13 @@
</xsl:apply-templates>
</xsl:element>
</xsl:when>
+ <xsl:when test="text:tab and text:a and ancestor::text:index-body">
+ <xsl:element name="p">
+ <xsl:apply-templates select="attribute::* | child::text:a">
+ <xsl:with-param name="globalData" select="$globalData" />
+ </xsl:apply-templates>
+ </xsl:element>
+ </xsl:when>
<xsl:otherwise>
<xsl:choose>
<!-- !!Check if paragraph is empty!!
More information about the Libreoffice-commits
mailing list