filter/source/xslt/odf2xhtml/export/xhtml/body.xsl |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 1ab97fe7a244d091def863a1279e67394167144a
Author: Robert Antoni Buj Gelonch <robert....@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 <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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!!
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to