summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 53af56fa2f94..b3276a4ba358 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -2623,7 +2623,8 @@
<xsl:param name="listStyleName"/>
<xsl:param name="minLabelWidth"/>
- <xsl:element name="h">
+ <xsl:variable name="headingName" select="concat('h', $listLevel - 1)"/>
+ <xsl:element name="{$headingName}">
<xsl:call-template name="create-list-style">
<xsl:with-param name="globalData" select="$globalData"/>
<xsl:with-param name="listIndent" select="$listIndent"/>