summaryrefslogtreecommitdiff
path: root/filter/source/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/xslt')
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 59a662aba03f..e86225bac3a3 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!!