[w3m-dev 03535] close anchor, quote <
* file.c (HTMLtagproc1): close_anchor * frame.c (createFrameFile): quote < From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
13
frame.c
13
frame.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: frame.c,v 1.25 2002/12/05 16:04:00 ukai Exp $ */
|
||||
/* $Id: frame.c,v 1.26 2002/12/06 16:38:05 ukai Exp $ */
|
||||
#include "fm.h"
|
||||
#include "parsetagx.h"
|
||||
#include "myctype.h"
|
||||
@@ -600,7 +600,16 @@ createFrameFile(struct frameset *f, FILE * f1, Buffer *current, int level,
|
||||
continue;
|
||||
|
||||
if (tok->ptr[0] == '<') {
|
||||
is_tag = TRUE;
|
||||
if (tok->ptr[1] &&
|
||||
REALLY_THE_BEGINNING_OF_A_TAG(tok->ptr))
|
||||
is_tag = TRUE;
|
||||
else if (!(pre_mode & (RB_PLAIN | RB_INTXTA |
|
||||
RB_SCRIPT | RB_STYLE))) {
|
||||
p = Strnew_m_charp(tok->ptr + 1, p, NULL)->ptr;
|
||||
tok = Strnew_charp("<");
|
||||
}
|
||||
}
|
||||
if (is_tag) {
|
||||
if (pre_mode & (RB_PLAIN | RB_INTXTA | RB_SCRIPT |
|
||||
RB_STYLE)) {
|
||||
q = tok->ptr;
|
||||
|
||||
Reference in New Issue
Block a user