diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-30 03:58:59 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-10-30 03:58:59 +0000 |
commit | a5c8badd28bc387f2f70edfeb2eca233e3b7345c (patch) | |
tree | e8e3c9f9d2e9d5319ad3d81365417f6002b915b8 | |
parent | cvs version (diff) | |
download | w3m-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | file.c | 5 |
2 files changed, 9 insertions, 3 deletions
@@ -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 $ @@ -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) { |