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 /file.c | |
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 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) { |