You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ni...@apache.org on 2002/08/22 00:35:50 UTC
cvs commit: jakarta-avalon/src/documentation/skins/avalon-tigris/xslt/html document2html.xsl
nicolaken 2002/08/21 15:35:50
Modified: src/documentation/skins/avalon-tigris/xslt/html
document2html.xsl
Log:
Make font color="" tags usable in <source> tags.
Temp hack till Forrest finally gets automatic code coloring.
Revision Changes Path
1.4 +4 -0 jakarta-avalon/src/documentation/skins/avalon-tigris/xslt/html/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/jakarta-avalon/src/documentation/skins/avalon-tigris/xslt/html/document2html.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- document2html.xsl 19 Jul 2002 18:58:14 -0000 1.3
+++ document2html.xsl 21 Aug 2002 22:35:50 -0000 1.4
@@ -126,6 +126,10 @@
<pre><xsl:apply-templates/></pre>
</xsl:template>
+ <xsl:template match="//source/font">
+ <font color="{@color}"><xsl:apply-templates/></font>
+ </xsl:template>
+
<xsl:template match="fixme">
<!-- ignore on documentation -->
</xsl:template>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>