diff options
author | Svante Schubert <svante.schubert@gmail.com> | 2020-08-26 13:50:10 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-03-02 13:23:33 +0100 |
commit | fbe545c4eeb48ec847f48afa9573d0514fc51f63 (patch) | |
tree | caf0c3f6664508e76db4e0c17776aef912108bc7 /filter | |
parent | 9d3b39cf9fed9a305ac23d1ecaaafc8f7caaeeb0 (diff) |
HTML XSLT: Appendix headings looked incorrect (in general heading within lists were missing HTML element heading number)
Change-Id: I125b095a436be3c6d9f5f64496564d63ea10a5fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111618
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 3 |
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"/> |