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 | |
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
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | scripts/w3mman/w3mman2html.cgi.in | 4 |
2 files changed, 9 insertions, 3 deletions
@@ -1,9 +1,15 @@ +2010-07-18 hito <hito@localhost.localdomain> + + 2010-07-18 d+w3m@vdr.jp * [w3m-dev 04319] Re: w3m's bugs from bugs.debian.org * doc/w3m.1: fix typo. * doc-jp/w3m.1: update * terms.c: fix version check logic for FreeBSD http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493486 + * scripts/w3mman/w3mman2html.cgi.in (Content-Type): + "MAN_KEEP_FORMATTING=1" + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325699 2007-06-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> @@ -8940,4 +8946,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.1004 2010/07/18 13:31:24 htrb Exp $ +$Id: ChangeLog,v 1.1005 2010/07/18 13:38:30 htrb Exp $ 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; |