diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-01-12 21:30:22 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-01-12 21:30:22 -0500 |
commit | 3ca7ba8c0fdfd9ad9681012f1816b8ec534e8083 (patch) | |
tree | f1efb49ba113fea43cd39b71698b66f43cdb0531 /lib/sisu/v5/txt_markdown.rb | |
parent | debian/changelog (4.2.17-1) (diff) | |
parent | v5: asciidoc, file extension (for now .ad), inline footnotes, minor (diff) |
Merge tag 'sisu_4.2.18' into debian/sid
SiSU 4.2.18
Diffstat (limited to 'lib/sisu/v5/txt_markdown.rb')
-rw-r--r-- | lib/sisu/v5/txt_markdown.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sisu/v5/txt_markdown.rb b/lib/sisu/v5/txt_markdown.rb index 96aca820..8b081349 100644 --- a/lib/sisu/v5/txt_markdown.rb +++ b/lib/sisu/v5/txt_markdown.rb @@ -368,6 +368,7 @@ WOK def heading_decorated_inline(dob) if dob.is==:heading heading_inline = case dob.lc + when 0 then decorate.heading.inline.l0 when 1 then decorate.heading.inline.l1 when 2 then decorate.heading.inline.l2 when 3 then decorate.heading.inline.l3 @@ -382,6 +383,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 |