diff options
| -rw-r--r-- | file.c | 14 | ||||
| -rw-r--r-- | html.c | 4 | 
2 files changed, 11 insertions, 7 deletions
| @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.151 2002/12/06 16:49:49 ukai Exp $ */ +/* $Id: file.c,v 1.152 2002/12/08 14:23:44 ukai Exp $ */  #include "fm.h"  #include <sys/types.h>  #include "myctype.h" @@ -5005,7 +5005,8 @@ HTMLlineproc2body(Buffer *buf, Str (*feed) (), int llimit)  			registerName(buf, id, currentLn(buf), pos);  		    }  		    if (parsedtag_get_value(tag, ATTR_HREF, &p)) -			p = url_quote_conv(remove_space(p), buf->document_code); +			p = url_quote_conv(remove_space(p), +					   buf->document_code);  		    if (parsedtag_get_value(tag, ATTR_TARGET, &q))  			q = url_quote_conv(q, buf->document_code);  		    if (parsedtag_get_value(tag, ATTR_REFERER, &r)) @@ -5070,7 +5071,8 @@ HTMLlineproc2body(Buffer *buf, Str (*feed) (), int llimit)  #endif  			s = NULL;  			parsedtag_get_value(tag, ATTR_TITLE, &s); -			p = url_quote_conv(remove_space(p), buf->document_code); +			p = url_quote_conv(remove_space(p), +					   buf->document_code);  			a_img = registerImg(buf, p, s, currentLn(buf), pos);  #ifdef USE_IMAGE  			a_img->hseq = iseq; @@ -5221,7 +5223,8 @@ HTMLlineproc2body(Buffer *buf, Str (*feed) (), int llimit)  			break;  		    if (parsedtag_get_value(tag, ATTR_HREF, &p)) {  			MapArea *a; -			p = url_quote_conv(remove_space(p), buf->document_code); +			p = url_quote_conv(remove_space(p), +					   buf->document_code);  			t = NULL;  			parsedtag_get_value(tag, ATTR_TARGET, &t);  			q = ""; @@ -5270,7 +5273,8 @@ HTMLlineproc2body(Buffer *buf, Str (*feed) (), int llimit)  		    break;  		case HTML_BASE:  		    if (parsedtag_get_value(tag, ATTR_HREF, &p)) { -			p = url_quote_conv(remove_space(p), buf->document_code); +			p = url_quote_conv(remove_space(p), +					   buf->document_code);  			if (!buf->baseURL)  			    buf->baseURL = New(ParsedURL);  			parseURL(p, buf->baseURL, NULL); @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.20 2002/12/06 16:50:19 ukai Exp $ */ +/* $Id: html.c,v 1.21 2002/12/08 14:23:44 ukai Exp $ */  #include "html.h"  /* Define HTML Tag Infomation Table */ @@ -226,7 +226,7 @@ TagInfo TagMAP[MAX_HTMLTAG] = {      {"sub", NULL, 0, 0},	/* 102 HTML_SUB       */      {"/sub", NULL, 0, 0},	/* 103 HTML_N_SUB       */      {"link", ALST_LINK, MAXA_LINK, 0},	/*  104 HTML_LINK      */ -    {"s", NULL, 0, 0},	/*  105 HTML_S        */ +    {"s", NULL, 0, 0},		/*  105 HTML_S        */      {"/s", NULL, 0, TFLG_END},	/*  106 HTML_N_S      */      {NULL, NULL, 0, 0},		/* 107 Undefined       */ | 
