diff options
Diffstat (limited to 'src/log2xml/log2html.xsl')
-rw-r--r-- | src/log2xml/log2html.xsl | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/log2xml/log2html.xsl b/src/log2xml/log2html.xsl index 96691a6aefd7..be4af66ce3c7 100644 --- a/src/log2xml/log2html.xsl +++ b/src/log2xml/log2html.xsl @@ -17,9 +17,7 @@ <xsl:template match="nest"> <div class='nesting'> <div class='head'> - <code> - <xsl:value-of select="head"/> - </code> + <xsl:apply-templates select='head'/> </div> <blockquote class='body'> <xsl:for-each select='line|nest'> @@ -52,10 +50,17 @@ </div> </xsl:template> - <xsl:template match="line"> - <code class='line'> - <xsl:value-of select="."/> + <xsl:template match="head|line"> + <code> + <xsl:apply-templates/> </code> </xsl:template> + + <xsl:template match="storeref"> + <em class='storeref'> + <span class='z'><span class='popup'><xsl:apply-templates/></span></span> + <span class='elided'>(...)</span><xsl:apply-templates select='name'/><xsl:apply-templates select='path'/> + </em> + </xsl:template> </xsl:stylesheet> \ No newline at end of file |