summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorjan <jan@jandecaluwe.com>2006-03-10 16:57:52 +0100
committerjan <jan@jandecaluwe.com>2006-03-10 16:57:52 +0100
commit21ed2ba400e22a21f7356caf84c837e7a724429e (patch)
tree025e36cc4be5278e51557b26ffd1ab52b24dbf34 /inc/parser/xhtml.php
parentee3d998e9bd1cd7e264dfb9c5601187a80fc6941 (diff)
downloadrpg-21ed2ba400e22a21f7356caf84c837e7a724429e.tar.gz
rpg-21ed2ba400e22a21f7356caf84c837e7a724429e.tar.bz2
Fix toc indentation for toptoclevel > 1
darcs-hash:20060310155752-45605-05a5e1641c314edb38a46d4d6f1145ad62e932a1.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 3447c88f4..bb7adf1da 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -140,7 +140,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$this->toc[] = array( 'hid' => $hid,
'title' => $text,
'type' => 'ul',
- 'level' => $level);
+ 'level' => $level-$conf['toptoclevel']+1);
}
// write the header