diff options
Diffstat (limited to 'xhtml/admon.xsl')
-rw-r--r-- | xhtml/admon.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xhtml/admon.xsl b/xhtml/admon.xsl index 78e1a67..9c1ff4d 100644 --- a/xhtml/admon.xsl +++ b/xhtml/admon.xsl @@ -4,7 +4,7 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> <!-- ******************************************************************** - $Id: admon.xsl 9352 2012-05-12 23:17:11Z bobstayton $ + $Id: admon.xsl 9728 2013-03-08 00:16:41Z bobstayton $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. @@ -64,7 +64,7 @@ <div> <xsl:call-template name="common.html.attributes"/> <xsl:call-template name="id.attribute"/> - <xsl:if test="$admon.style != ''"> + <xsl:if test="$admon.style != '' and $make.clean.html = 0"> <xsl:attribute name="style"> <xsl:value-of select="$admon.style"/> </xsl:attribute> @@ -114,7 +114,7 @@ <xsl:with-param name="inherit" select="1"/> </xsl:call-template> <xsl:call-template name="id.attribute"/> - <xsl:if test="$admon.style"> + <xsl:if test="$admon.style != '' and $make.clean.html = 0"> <xsl:attribute name="style"> <xsl:value-of select="$admon.style"/> </xsl:attribute> |