Commit 2601dede authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Render <code> elements.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1902 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7f073aee
......@@ -72,4 +72,18 @@
<xsl:value-of select="@ref"/>
</a>
</xsl:template>
<xsl:template match="code">
<tt>
<xsl:apply-templates/>
</tt>
</xsl:template>
<xsl:template match="*" priority="-1">
<xsl:message>Warning: no template for element <xsl:value-of select="name(
)"/></xsl:message>
<xsl:value-of select="concat('&lt;', name(), '&gt;')"/>
<xsl:apply-templates/>
<xsl:value-of select="concat('&lt;/', name(), '&gt;')"/>
</xsl:template>
</xsl:stylesheet>
......@@ -25,3 +25,7 @@ h3 {
font-weight: bold;
color: maroon;
}
code {
font-family: monospace;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment