diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-07-26 20:40:58 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-07-26 20:40:58 -0400 |
commit | 50f12ee84e59d8f74f443c54ab3b11f50ac79346 (patch) | |
tree | c36f14b0044525b5e08924c9e25aa8e9f4392472 /lib/sisu/v3/manpage.rb | |
parent | debian/changelog (3.0.13-1) (diff) | |
parent | v2 v3: manpage html (man2html) (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v3/manpage.rb')
-rw-r--r-- | lib/sisu/v3/manpage.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sisu/v3/manpage.rb b/lib/sisu/v3/manpage.rb index 0a2c2fcc..e23caa76 100644 --- a/lib/sisu/v3/manpage.rb +++ b/lib/sisu/v3/manpage.rb @@ -202,11 +202,15 @@ WOK or dob.is=='heading' paragraph=dob.obj if dob.is=='para' - if dob.indent =~/[1-9]/ + if dob.indent =~/[1-9]/ \ + and dob.indent == dob.hang util=if dob.bullet_ SiSU_text_utils::Wrap.new("* #{paragraph}",78,dob.indent.to_i*2) else SiSU_text_utils::Wrap.new(paragraph,78,dob.indent.to_i*2) end + elsif dob.hang =~/[0-9]/ \ + and dob.indent != dob.hang # NOT yet implemented + util=SiSU_text_utils::Wrap.new(paragraph,78,dob.indent.to_i*2) else util=if dob.bullet_ SiSU_text_utils::Wrap.new("* #{paragraph}",78,0) |