From 21ed2ba400e22a21f7356caf84c837e7a724429e Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 10 Mar 2006 16:57:52 +0100 Subject: Fix toc indentation for toptoclevel > 1 darcs-hash:20060310155752-45605-05a5e1641c314edb38a46d4d6f1145ad62e932a1.gz --- inc/parser/xhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/parser') 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 -- cgit v1.2.3