summaryrefslogtreecommitdiff
path: root/gentoobrowse/package.xslt
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-10-11 12:22:11 +0000
committerrandomdan <randomdan@localhost>2010-10-11 12:22:11 +0000
commit0df9e40447b25a416fe0be036ab9087e36f6ceea (patch)
tree81e4ac7c8b83e3f82d56efa68e1c9696c25a8a07 /gentoobrowse/package.xslt
parentSplit the browse stylesheet into it's component parts, add some SEO stuff (diff)
downloadgentoobrowse-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.xslt7
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) &gt; 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>