aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog8
-rw-r--r--scripts/w3mman/w3mman2html.cgi.in4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 18bd32c..26fc723 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;