Permalink
Browse files

Really render <code> elements correctly.

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1903 d4fa192b-c00b-0410-8231-f00ffab90ce4
  • Loading branch information...
dag-erling committed Aug 20, 2007
1 parent 2601ded commit 7e936709b99f19256073efc75deed1100512be2e
Showing with 6 additions and 3 deletions.
  1. +5 −2 doc/changes-html.xsl
  2. +1 −1 doc/changes.css
View
@@ -74,9 +74,12 @@
</xsl:template>
<xsl:template match="code">
- <tt>
+ <span>
+ <xsl:attribute name="class">
+ <xsl:value-of select="name()"/>
+ </xsl:attribute>
<xsl:apply-templates/>
- </tt>
+ </span>
</xsl:template>
<xsl:template match="*" priority="-1">
View
@@ -26,6 +26,6 @@ h3 {
color: maroon;
}
-code {
+.code {
font-family: monospace;
}

0 comments on commit 7e93670

Please sign in to comment.