]> err.no Git - varnish/commitdiff
Really render <code> elements correctly.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Aug 2007 19:16:08 +0000 (19:16 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Aug 2007 19:16:08 +0000 (19:16 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1903 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/doc/changes-html.xsl
varnish-cache/doc/changes.css

index 9eddf388704d3907de6a598437356e86622b916c..eeaa1a4e4007b02faa82e85750427a7e6753a922 100644 (file)
   </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">
index d0570053e1d79300af00fcac911d738184dcd0c8..f3d5c71dadd28624b0f6a5d879ae07e49187bc76 100644 (file)
@@ -26,6 +26,6 @@ h3 {
        color: maroon;
 }
 
-code {
+.code {
        font-family: monospace;
 }