]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix a couple of class attributes.
authorBob Stayton <bobs@sagehill.net>
Wed, 21 Mar 2007 16:20:35 +0000 (16:20 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 21 Mar 2007 16:20:35 +0000 (16:20 +0000)
xsl/html/inline.xsl

index 558cdaa59de722ed868696d5aeb538107a21cbf6..6ff99e37b8f068a46029e077c30dc2e170a8b940 100644 (file)
   </xsl:param>
 
   <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
     <xsl:call-template name="generate.html.title"/>
     <xsl:call-template name="dir"/>
 
       </xsl:when>
       <xsl:otherwise>
         <strong>
-          <xsl:apply-templates select="." mode="class.attribute"/>
           <xsl:copy-of select="$content"/>
         </strong>
       </xsl:otherwise>
         </xsl:apply-templates>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:attribute name="class">
-          <xsl:text>emphasis</xsl:text>
-        </xsl:attribute>
+        <xsl:apply-templates select="." mode="class.attribute"/>
       </xsl:otherwise>
     </xsl:choose>
     <xsl:call-template name="anchor"/>