aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/manpage.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/manpage.rb')
-rw-r--r--lib/sisu/v2/manpage.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v2/manpage.rb b/lib/sisu/v2/manpage.rb
index a040f1a0..f9c75227 100644
--- a/lib/sisu/v2/manpage.rb
+++ b/lib/sisu/v2/manpage.rb
@@ -293,6 +293,7 @@ WOK
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 =~/group|verse|alt|code/
if dob.is =='code'