aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-10-30 03:58:59 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-10-30 03:58:59 +0000
commita5c8badd28bc387f2f70edfeb2eca233e3b7345c (patch)
treee8e3c9f9d2e9d5319ad3d81365417f6002b915b8
parentcvs version (diff)
downloadw3m-a5c8badd28bc387f2f70edfeb2eca233e3b7345c.tar.gz
w3m-a5c8badd28bc387f2f70edfeb2eca233e3b7345c.zip
[w3m-dev 03357] tab in <pre> in <ul>,<ol>,...
* file.c (HTMLlineproc2): check indent for tabstop From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--file.c5
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a0862d..546e514 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-10-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03357] tab in <pre> in <ul>,<ol>,...
+ * file.c (HTMLlineproc2): check indent for tabstop
+
+2002-10-30 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03354] display current line number
* display.c (displayBuffer): %3d -> %d
@@ -4030,4 +4035,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.457 2002/10/29 16:19:41 ukai Exp $
+$Id: ChangeLog,v 1.458 2002/10/30 03:58:59 ukai Exp $
diff --git a/file.c b/file.c
index eff1b63..bca214c 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.105 2002/10/25 19:59:54 ukai Exp $ */
+/* $Id: file.c,v 1.106 2002/10/30 03:58:59 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -5623,7 +5623,8 @@ HTMLlineproc0(char *str, struct html_feed_environ *h_env, int internal)
else if (ch == '\t') {
do {
PUSH(' ');
- } while (obuf->pos % Tabstop != 0);
+ } while ((h_env->envs[h_env->envc].indent + obuf->pos)
+ % Tabstop != 0);
str++;
}
else if (obuf->flag & RB_PLAINMODE) {