]> granicus.if.org Git - docbook-dsssl/commitdiff
Update the inline.charseq template to also call 'common.html.attributes'
authorBob Stayton <bobs@sagehill.net>
Wed, 15 May 2013 17:13:52 +0000 (17:13 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 15 May 2013 17:13:52 +0000 (17:13 +0000)
instead of using local-name for class value.

xsl/html/inline.xsl

index ba4706ab72ec8404e60bb8e48f83de76b1c5db92..b032d455be2d4b3209675cd5a3bc4fbeeab8c823 100644 (file)
   <!-- * for the 'wrapper-name' param -->
   <xsl:param name="wrapper-name">span</xsl:param>
   <xsl:element name="{$wrapper-name}">
-    <xsl:attribute name="class">
-      <xsl:value-of select="local-name(.)"/>
-    </xsl:attribute>
+    <xsl:call-template name="common.html.attributes"/>
     <xsl:call-template name="id.attribute"/>
-    <xsl:call-template name="dir"/>
     <xsl:call-template name="generate.html.title"/>
     <xsl:copy-of select="$content"/>
     <xsl:call-template name="apply-annotations"/>