diff options
author | http://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web> | 2009-12-07 01:05:35 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-12-07 01:05:35 -0500 |
commit | 4fe1eb7ab542255eaa3d0266bc0437b49bacef4d (patch) | |
tree | 0ab507144c984707855f18a247d51a525c290e4f /doc | |
parent | 1370a26030599dc2f7cbeb3df714e7935860e436 (diff) | |
download | ikiwiki-4fe1eb7ab542255eaa3d0266bc0437b49bacef4d.tar ikiwiki-4fe1eb7ab542255eaa3d0266bc0437b49bacef4d.tar.gz |
my bad; wrong way around
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/toc_plugin:_set_a_header_ceiling___40__opposite_of_levels__61____41__.mdwn | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/doc/todo/toc_plugin:_set_a_header_ceiling___40__opposite_of_levels__61____41__.mdwn b/doc/todo/toc_plugin:_set_a_header_ceiling___40__opposite_of_levels__61____41__.mdwn index 318375660..2d90772db 100644 --- a/doc/todo/toc_plugin:_set_a_header_ceiling___40__opposite_of_levels__61____41__.mdwn +++ b/doc/todo/toc_plugin:_set_a_header_ceiling___40__opposite_of_levels__61____41__.mdwn @@ -5,16 +5,17 @@ Currently, the levels=X parameter lets you tweak how deep it will go for small h > This change to toc.pm should do it. --[[KathrynAndersen]] 56,57c56,57 - < my $startlevel=($params{startlevel} ? $params{startlevel} : 0); - < my $curlevel=$startlevel-1; + < my $curlevel; + < my $startlevel=0; --- - > my $curlevel; - > my $startlevel=0; - 70d69 - < # unless we're given startlevel as a parameter - 75,79d73 - < elsif (defined $params{startlevel} - < and $level < $params{startlevel}) - < { - < return; - < } + > my $startlevel=($params{startlevel} ? $params{startlevel} : 0); + > my $curlevel=$startlevel-1; + 69a70 + > # unless we're given startlevel as a parameter + 73a75,79 + > elsif (defined $params{startlevel} + > and $level < $params{startlevel}) + > { + > return; + > } + |