commit dc04506187dfd588905f8244d9769039cf7d317c
parent 70838ef2965acda617ce7acb752d1d5afe15166a
Author: ukai <ukai>
Date: Sun, 8 Dec 2002 14:23:44 +0000
fix indent
Diffstat:
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/file.c b/file.c
@@ -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);
diff --git a/html.c b/html.c
@@ -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 */