summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-21 13:52:56 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-21 13:52:56 +0000
commit840b9d157369f41d86803193ba37bf1731caced5 (patch)
treea80c09b206884d6bbb36356a998419a1c397d719 /tools
parent2a0761aecefcaef5de642bd9c89d3abc383daa79 (diff)
Update xep.xsl to r2040
Diffstat (limited to 'tools')
-rw-r--r--tools/xep.xsl16
1 files changed, 11 insertions, 5 deletions
diff --git a/tools/xep.xsl b/tools/xep.xsl
index 5ea7703e1..09cf03123 100644
--- a/tools/xep.xsl
+++ b/tools/xep.xsl
@@ -34,7 +34,7 @@ THE SOFTWARE.
<html>
<head>
<title>XEP-<xsl:value-of select='/xep/header/number'/>:<xsl:text> </xsl:text><xsl:value-of select='/xep/header/title' /></title>
- <link rel='stylesheet' type='text/css' href='/xmpp.css' />
+ <link rel='stylesheet' type='text/css' href='../xmpp.css' />
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
<!-- BEGIN META TAGS FOR DUBLIN CORE -->
<meta>
@@ -696,6 +696,10 @@ THE SOFTWARE.
</p>
</xsl:template>
+ <xsl:template match='br'>
+ <br />
+ </xsl:template>
+
<xsl:template match='ul'>
<ul>
<xsl:variable name='class.count' select='count(@class)'/>
@@ -773,10 +777,12 @@ THE SOFTWARE.
</xsl:template>
<xsl:template match='table'>
- <p class='caption'><a><xsl:attribute name='name'><xsl:text>table-</xsl:text><xsl:number level='any' count='table'/></xsl:attribute></a>Table <xsl:number level='any' count='table'/>:<xsl:text> </xsl:text><xsl:value-of select='@caption'/></p>
- <table border='1' cellpadding='3' cellspacing='0'>
- <xsl:apply-templates/>
- </table>
+ <div class='indent'>
+ <p class='caption'><a><xsl:attribute name='name'><xsl:text>table-</xsl:text><xsl:number level='any' count='table'/></xsl:attribute></a>Table <xsl:number level='any' count='table'/>:<xsl:text> </xsl:text><xsl:value-of select='@caption'/></p>
+ <table border='1' cellpadding='3' cellspacing='0'>
+ <xsl:apply-templates/>
+ </table>
+ </div>
</xsl:template>
<xsl:template match='tr'>