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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 7 09:25:36 UTC 2018


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

New commits:
commit 0858f6c2d93e701deef99a74567e214f05a9f8e3
Author:     Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Thu Sep 6 15:03:23 2018 -0300
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Fri Sep 7 11:25:15 2018 +0200

    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 at libreoffice.org>

diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index cbd43cd7e..5e7859b97 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>


More information about the Libreoffice-commits mailing list