summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-06 15:03:23 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-07 11:25:15 +0200
commit0858f6c2d93e701deef99a74567e214f05a9f8e3 (patch)
tree17c227434488e1971e44271330e2944cb0e1ffdf /help3xsl
parent49ca3ec3c2290c0ea58a57f31073fc838109f75d (diff)
Fix image dimensions expression in style
Change-Id: I1803f18aa0512e5b618daa64efff6487c583fb76 Reviewed-on: https://gerrit.libreoffice.org/60106 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/online_transform.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index cbd43cd7e5..5e7859b974 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -1089,7 +1089,7 @@
</xsl:if>
</xsl:variable>
<img src="{$src2}" alt="{$alt}" title="{$alt}">
- <xsl:attribute name="style"><xsl:value-of select="$width"/><xsl:value-of select="$height"/></xsl:attribute>
+ <xsl:attribute name="style"><xsl:value-of select="concat($width,'; ')"/><xsl:value-of select="concat($height,';')"/></xsl:attribute>
<xsl:if test="ancestor::tablecell">
<xsl:attribute name="class"><xsl:value-of select="'imageicon'"/></xsl:attribute>
<xsl:attribute name="src"><xsl:value-of select="concat(substring-before($src2,'.png'),'.svg')"/></xsl:attribute>