diff options
Diffstat (limited to '')
-rw-r--r-- | frame.c | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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; |