diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-03-05 21:51:24 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-03-05 21:51:24 -0500 |
commit | 58cbe6bacc8416ad536787ed1acb6d0f4e889ea9 (patch) | |
tree | a5f37fb07df47c1d21412f28f7c535d84031269a /lib/sisu/v3/manpage.rb | |
parent | debian related sisu markup samples, reorganise (diff) | |
parent | v2, v3: changelog updates (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v3/manpage.rb')
-rw-r--r-- | lib/sisu/v3/manpage.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v3/manpage.rb b/lib/sisu/v3/manpage.rb index 3810a969..e4cb6906 100644 --- a/lib/sisu/v3/manpage.rb +++ b/lib/sisu/v3/manpage.rb @@ -138,7 +138,6 @@ module SiSU_Manpage if wrap =~ /^\s*[\d*+]+\s+.+?\s*\Z/m wrap.gsub!(/(^| |#{Mx[:nbsp]}|\s|\*)\\\*/,'\1\\\\\*') #man page requires wrap.gsub!(/\s\.(\S+)/,' \\.\1') - wrap.gsub!(/(["''])/,"\\\\\\1") # quotation marks need escape wrap.gsub!(/^\s*([\d*+]+)\s+(.+?)\s*\Z/m, <<GSUB .TP .BI \\1. @@ -300,9 +299,9 @@ WOK dob.obj.gsub!(/(?:#{Mx[:br_line]}|#{Mx[:br_nl]})+\s*/,"\n") # watch end dob.obj.gsub!(/(^| |#{Mx[:nbsp]}|\s|\*)\\\*/,'\1\\\\\*') #man page requires + dob.obj.gsub!(/┆/,'|') dob.obj.gsub!(/\s\.(\S+)/,' \\.\1') dob.obj.gsub!(/(\n\.)(\S\S\S+)/m,'\1\\.\2') - dob.obj.gsub!(/-/,'\-') #manpages use this dob.obj.gsub!(/~/,'~') if dob.obj #manpages use this if dob.is =~/block|group|verse|alt|code/ if dob.is =='code' |