aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/html_minitoc.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-05-12 20:31:23 -0400
committerRalph Amissah <ralph@amissah.com>2014-05-12 20:31:23 -0400
commite38554e5acad9b3dd93b0e6e4cedd39d5ff2f1a2 (patch)
tree250d10aaf2965657b291cc72dfe8429a8625962f /lib/sisu/v6/html_minitoc.rb
parentv5 v6: version & changelog (& rakefile) (diff)
v5 v6: coding, various minor cosmetic
Diffstat (limited to 'lib/sisu/v6/html_minitoc.rb')
-rw-r--r--lib/sisu/v6/html_minitoc.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v6/html_minitoc.rb b/lib/sisu/v6/html_minitoc.rb
index 13045b0d..b36188ec 100644
--- a/lib/sisu/v6/html_minitoc.rb
+++ b/lib/sisu/v6/html_minitoc.rb
@@ -143,7 +143,8 @@
end
txt_obj={ txt: title }
format_toc=SiSU_HTML_Format::FormatToc.new(@md,txt_obj)
- toc_mini=if txt.name =~/^meta/ and txt.obj=~/Document Information/
+ toc_mini=if txt.name =~/^meta/ \
+ and txt.obj=~/Document Information/
format_toc.mini_tail
else format_toc.mini_lev1
end