aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/txt_rst.rb
diff options
context:
space:
mode:
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