]> granicus.if.org Git - docbook-dsssl/commitdiff
Drop the font elements, not their contents
authorKeith Fahlgren <abdelazer@users.sourceforge.net>
Sat, 10 Oct 2009 21:31:49 +0000 (21:31 +0000)
committerKeith Fahlgren <abdelazer@users.sourceforge.net>
Sat, 10 Oct 2009 21:31:49 +0000 (21:31 +0000)
xsl/xhtml-1_1/html2xhtml.xsl
xsl/xhtml/html2xhtml.xsl

index 050f33cacca17409ded6c331f81b1fb6813e7696..841cb83b771402e7f39bf023be0c001e9fd21bc5 100644 (file)
 <!-- "The following HTML elements specify font information. 
       Although they are not all deprecated, their use is discouraged in 
       favor of style sheets." -->
-<xsl:template match="b|i"/>
+<xsl:template match="b|i">
+  <xsl:apply-templates/>
+</xsl:template>  
 
 <!-- this only occurs in docbook.xsl to identify errors -->
 <xsl:template match="font">
index 1350210271e602b777056acd97242a9455ff395c..e8eb17ada6df9629fac7e9dafe6547366bbdebe2 100644 (file)
 <!-- "The following HTML elements specify font information. 
       Although they are not all deprecated, their use is discouraged in 
       favor of style sheets." -->
-<xsl:template match="b|i"/>
+<xsl:template match="b|i">
+  <xsl:apply-templates/>
+</xsl:template>  
 
 <!-- this only occurs in docbook.xsl to identify errors -->
 <xsl:template match="a[@name]">