diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-28 16:00:33 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-28 16:00:33 +0000 |
commit | d6219ea37a6a98ec6c47c63d04a8caa91475f6e2 (patch) | |
tree | ad2ea6be68270543bcb8478bb7518f6d058a8d38 /frame.c | |
parent | [w3m-dev 03497] incorrect image size (diff) | |
download | w3m-d6219ea37a6a98ec6c47c63d04a8caa91475f6e2.tar.gz w3m-d6219ea37a6a98ec6c47c63d04a8caa91475f6e2.zip |
[w3m-dev 03498] Re: parse <!-- ... --> in <script>
* file.c (HTMLlineproc0): tag in textarea
* frame.c (createFrameFile): fix comment processing in frame
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | frame.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: frame.c,v 1.21 2002/11/26 17:12:15 ukai Exp $ */ +/* $Id: frame.c,v 1.22 2002/11/28 16:00:34 ukai Exp $ */ #include "fm.h" #include "parsetagx.h" #include "myctype.h" @@ -573,8 +573,10 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level, cleanup_line(tmp, HTML_MODE); p = tmp->ptr; } - if (status == R_ST_NORMAL || ST_IS_COMMENT(status)) + if (status == R_ST_NORMAL) read_token(tok, &p, &status, 1, 0); + else if (ST_IS_COMMENT(status)) + read_token(tok, &p, &status, 0, 0); else read_token(tok, &p, &status, 1, 1); } while (status != R_ST_NORMAL); |