From a512dfecf8f9594f34fa766de9941a3dcc69d4b3 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 5 Mar 2011 14:57:52 -0500 Subject: v2, v3: manpage, adjust output (backslash ('\') escapes reduced) --- lib/sisu/v2/manpage.rb | 5 ++--- lib/sisu/v3/manpage.rb | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/sisu/v2/manpage.rb b/lib/sisu/v2/manpage.rb index 2d13793b..18670e2a 100644 --- a/lib/sisu/v2/manpage.rb +++ b/lib/sisu/v2/manpage.rb @@ -7,7 +7,7 @@ * Author: Ralph Amissah - * Copyright: (C) 1997 - 2010, Ralph Amissah, All Rights Reserved. + * Copyright: (C) 1997 - 2011, Ralph Amissah, All Rights Reserved. * License: GPL 3 or later: @@ -139,7 +139,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, <