]> granicus.if.org Git - docbook-dsssl/commitdiff
Turn off $admon.style if $make.clean.html is set to non-zero.
authorBob Stayton <bobs@sagehill.net>
Fri, 8 Mar 2013 00:16:41 +0000 (00:16 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 8 Mar 2013 00:16:41 +0000 (00:16 +0000)
xsl/html/admon.xsl

index 78a60d5ad625514806375d15f2fb6e5f4faecda8..ef7f11e46fff4e5a1f132e435da1ea844c62b75d 100644 (file)
@@ -63,7 +63,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>
       <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>