diff options
author | randomdan <randomdan@localhost> | 2010-10-11 12:22:11 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-10-11 12:22:11 +0000 |
commit | 0df9e40447b25a416fe0be036ab9087e36f6ceea (patch) | |
tree | 81e4ac7c8b83e3f82d56efa68e1c9696c25a8a07 /gentoobrowse/package.xslt | |
parent | Split the browse stylesheet into it's component parts, add some SEO stuff (diff) | |
download | gentoobrowse-0df9e40447b25a416fe0be036ab9087e36f6ceea.tar.bz2 gentoobrowse-0df9e40447b25a416fe0be036ab9087e36f6ceea.tar.xz gentoobrowse-0df9e40447b25a416fe0be036ab9087e36f6ceea.zip |
Format the changelog properly in a pre
Diffstat (limited to 'gentoobrowse/package.xslt')
-rw-r--r-- | gentoobrowse/package.xslt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gentoobrowse/package.xslt b/gentoobrowse/package.xslt index bc0187a..ca9b114 100644 --- a/gentoobrowse/package.xslt +++ b/gentoobrowse/package.xslt @@ -166,11 +166,12 @@ <!-- Change log --> <xsl:template match="/gentoo/summary/package/changelog"> <xsl:if test="count(/gentoo/summary/package/changelog/line) > 0"> - <div class="tabhidden" id="changelog"> + <pre class="tabhidden" id="changelog"> <xsl:for-each select="line"> - <p><xsl:value-of select="content" /></p> + <xsl:value-of select="content" /><xsl:text> +</xsl:text> </xsl:for-each> - </div> + </pre> </xsl:if> </xsl:template> |