summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <ohallot@collabora.co.uk>2016-11-07 00:33:48 -0200
committerOlivier Hallot <olivier.hallot@edx.srv.br>2016-11-07 02:35:05 +0000
commit0383ee3b35b04281e98e6495ec20e5023ed887ce (patch)
tree945f5e81951b7d1fe98ed011037f76774168af6f
parentbf3db717e483f7d0f5b3fa8529d830dfd135d711 (diff)
Another correction to online_transform.xsl
Change-Id: I4c59259fd3034d5c84ecade84d5908fc125e656a Reviewed-on: https://gerrit.libreoffice.org/30618 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
-rw-r--r--help3xsl/online_transform.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 1d78223c1f..2d18765016 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -858,7 +858,8 @@
<xsl:variable name="height">
<xsl:call-template name="convert2px"><xsl:with-param name="value" select="@height"/></xsl:call-template>
</xsl:variable>
- <img src="{$src}" alt="{$alt}" title="{$alt}" style="concat('width:',$width,';','height:',$height,';')"></img>
+ <xsl:variable name="istyle"><xsl:value-of select="concat('width:',$width,';','height:',$height,';')"/></xsl:variable>
+ <img src="{$src}" alt="{$alt}" title="{$alt}" style="{$istyle}"></img>
</xsl:template>
<!-- changing measure to pixel -->