aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/txt_rst.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-01-12 21:25:51 -0500
committerRalph Amissah <ralph@amissah.com>2014-01-12 21:25:51 -0500
commit4aa58e16055fd24b7958c50397a27795105743e6 (patch)
tree73337afbfd59a9e501b88bebaf06c4c3014e43e8 /lib/sisu/v5/txt_rst.rb
parentv5: ao, counter for various grouped / blocked texts & tables (diff)
v5: heading recalibration, code (downstream) changes, continue
Diffstat (limited to 'lib/sisu/v5/txt_rst.rb')
-rw-r--r--lib/sisu/v5/txt_rst.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v5/txt_rst.rb b/lib/sisu/v5/txt_rst.rb
index 56a34de2..8565de5f 100644
--- a/lib/sisu/v5/txt_rst.rb
+++ b/lib/sisu/v5/txt_rst.rb
@@ -348,6 +348,7 @@ WOK
if dob.is==:heading
#times=@wrap_width if times > @wrap_width
case dob.lc
+ when 0 then decorate.heading.underscore.l0*times + p_num << break_line*2
when 1 then decorate.heading.underscore.l1*times + p_num << break_line*2
when 2 then decorate.heading.underscore.l2*times + p_num << break_line*2
when 3 then decorate.heading.underscore.l3*times + p_num << break_line*2