filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9804cb2f195451811eff8924d7997a3cbd6d679d Author: gerrit <[email protected]> AuthorDate: Mon Oct 19 21:15:11 2020 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Dec 16 09:25:35 2020 +0100 tdf#95662 Convert , to . for the min-width in the Lists only Works where strings should never have a ",", didn't check other strings. Change-Id: I693a2dbf13701420768c70c3cd11b84eac81f378 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104544 Tested-by: Noel Grandin <[email protected]> Reviewed-by: Noel Grandin <[email protected]> diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 83171a1f4d1a..8c9cb705d967 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -2042,7 +2042,7 @@ <xsl:with-param name="paraStyleName" select="descendant-or-self::*/@text:style-name"/> </xsl:call-template> <xsl:text>;min-width:</xsl:text> - <xsl:value-of select="$listLabelWidth"/> + <xsl:value-of select="translate($listLabelWidth,',','.')"/> <xsl:text>cm;</xsl:text> </xsl:attribute> <xsl:variable name="labelContent"> @@ -2104,7 +2104,7 @@ <xsl:with-param name="paraStyleName" select="descendant-or-self::*/@text:style-name"/> </xsl:call-template> <xsl:text>;min-width:</xsl:text> - <xsl:value-of select="$listLabelWidth"/> + <xsl:value-of select="translate($listLabelWidth,',','.')"/> <xsl:text>cm</xsl:text> </xsl:attribute> <xsl:comment> </xsl:comment> _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
