[Libreoffice-commits] help.git: help3xsl/online_transform.xsl

Olivier Hallot ohallot at collabora.co.uk
Mon Nov 7 02:35:32 UTC 2016


 help3xsl/online_transform.xsl |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 0383ee3b35b04281e98e6495ec20e5023ed887ce
Author: Olivier Hallot <ohallot at collabora.co.uk>
Date:   Mon Nov 7 00:33:48 2016 -0200

    Another correction to online_transform.xsl
    
    Change-Id: I4c59259fd3034d5c84ecade84d5908fc125e656a
    Reviewed-on: https://gerrit.libreoffice.org/30618
    Reviewed-by: Olivier Hallot <olivier.hallot at edx.srv.br>
    Tested-by: Olivier Hallot <olivier.hallot at edx.srv.br>

diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 1d78223..2d18765 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 -->


More information about the Libreoffice-commits mailing list