diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:45:29 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:45:29 +0000 |
commit | 2945f70be161735bf7efaefde43125a9ad3a4c88 (patch) | |
tree | da85d4bca39cba5a7c4e6714c8b73d6a8cd547fe /scripts/w3mman/w3mman2html.cgi.in | |
parent | Releasing debian version 0.5.2-10 (diff) | |
download | w3m-2945f70be161735bf7efaefde43125a9ad3a4c88.tar.gz w3m-2945f70be161735bf7efaefde43125a9ad3a4c88.zip |
Releasing debian version 0.5.3-1debian/0.5.3-1
Diffstat (limited to 'scripts/w3mman/w3mman2html.cgi.in')
-rw-r--r-- | scripts/w3mman/w3mman2html.cgi.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/w3mman/w3mman2html.cgi.in b/scripts/w3mman/w3mman2html.cgi.in index 3cb105d..f430307 100644 --- a/scripts/w3mman/w3mman2html.cgi.in +++ b/scripts/w3mman/w3mman2html.cgi.in @@ -76,7 +76,7 @@ if ($query{"local"}) { if (! ($file =~ /^\//)) { $file = $query{"pwd"} . '/' . $file; } - open(F, "$MAN -l $file 2> /dev/null |"); + open(F, "MAN_KEEP_FORMATTING=1 $MAN -l $file 2> /dev/null |"); } else { $man = $query{"man"}; if ($man =~ s/\((\w+)\)$//) { @@ -92,7 +92,7 @@ if ($query{"local"}) { $section =~ s:([^-\w\200-\377.,])::g; $man =~ s:([^-\w\200-\377.,])::g; - open(F, "$MAN $section $man 2> /dev/null |"); + open(F, "MAN_KEEP_FORMATTING=1 $MAN $section $man 2> /dev/null |"); } $ok = 0; undef $header; |