summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl6
1 files changed, 2 insertions, 4 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 2bd356a8c7..f52edfa01a 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -1197,10 +1197,8 @@
<xsl:call-template name="convert2px"><xsl:with-param name="value" select="@height"/></xsl:call-template>
</xsl:if>
</xsl:variable>
- <img src="{$src2}" alt="{$alt}" title="{$alt}" height="{$height}" width="{$width}">
- <xsl:if test="ancestor::tablecell">
- <xsl:attribute name="class"><xsl:value-of select="'imageicon'"/></xsl:attribute>
- </xsl:if>
+ <img src="{$src2}" alt="{$alt}" title="{$alt}">
+ <xsl:attribute name="style"><xsl:value-of select="$width"/><xsl:value-of select="$height"/></xsl:attribute>
</img>
</xsl:template>