diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-18 13:38:30 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-18 13:38:30 +0000 |
commit | f4177807ad7bc0efe014fd476283035f31d863d9 (patch) | |
tree | bf5fbfeea20154cb07f1bef809b1ee39177121cf /scripts | |
parent | fix version check logic for FreeBSD (diff) | |
download | w3m-f4177807ad7bc0efe014fd476283035f31d863d9.tar.gz w3m-f4177807ad7bc0efe014fd476283035f31d863d9.zip |
"MAN_KEEP_FORMATTING=1"
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325699
Diffstat (limited to '')
-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; |