aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-29 16:00:45 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-29 16:00:45 +0100
commitb090075a0e01c3d47b581b893669180b3e8077d9 (patch)
tree271cf5fffccddc7edc999c0e97ea9313203ee3c5 /lib
parentMerge branch 'upstream' into debian/sid (diff)
parentstart preparing sisu-auto-generated man pages for 0.60 release (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/manpage.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v0/manpage.rb b/lib/sisu/v0/manpage.rb
index 768fbc48..304bcda1 100644
--- a/lib/sisu/v0/manpage.rb
+++ b/lib/sisu/v0/manpage.rb
@@ -269,7 +269,9 @@ WOK
util=SiSU_text_utils::Wrap.new(paragraph,78,m*2)
else util=SiSU_text_utils::Wrap.new(paragraph,78,0)
end
- util.line_wrap
+ w=util.line_wrap
+ w.gsub!(/^(\\\.)/,' \1')
+ w
end
if lv
times=wrapped.length