[w3m-dev 03341] white space is needed to close an empty-element tag
* parsetagx.c (parse_tag): extract tagname until '/' From: Daiki Ueno <ueno@unixuser.org>
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-10-17 Daiki Ueno <ueno@unixuser.org>
|
||||||
|
|
||||||
|
* [w3m-dev 03341] white space is needed to close an empty-element tag
|
||||||
|
* parsetagx.c (parse_tag): extract tagname until '/'
|
||||||
|
|
||||||
2002-10-11 Fumitoshi UKAI <ukai@debian.or.jp>
|
2002-10-11 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||||
|
|
||||||
* [w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> is not properly supported
|
* [w3m-dev 03339] Re: Debian Bug#164098 w3m: <sup> is not properly supported
|
||||||
@@ -3930,4 +3935,4 @@
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-0.2.1
|
* import w3m-0.2.1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.442 2002/10/10 16:59:32 ukai Exp $
|
$Id: ChangeLog,v 1.443 2002/10/16 18:11:15 ukai Exp $
|
||||||
|
|||||||
10
html.c
10
html.c
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: html.c,v 1.13 2002/10/10 16:59:33 ukai Exp $ */
|
/* $Id: html.c,v 1.14 2002/10/16 18:11:15 ukai Exp $ */
|
||||||
#include "html.h"
|
#include "html.h"
|
||||||
|
|
||||||
/* Define HTML Tag Infomation Table */
|
/* Define HTML Tag Infomation Table */
|
||||||
@@ -216,10 +216,10 @@ TagInfo TagMAP[MAX_HTMLTAG] = {
|
|||||||
{"noframes", ALST_NOFRAMES, MAXA_NOFRAMES, 0}, /* 98 HTML_NOFRAMES */
|
{"noframes", ALST_NOFRAMES, MAXA_NOFRAMES, 0}, /* 98 HTML_NOFRAMES */
|
||||||
{"/noframes", NULL, 0, TFLG_END}, /* 99 HTML_N_NOFRAMES */
|
{"/noframes", NULL, 0, TFLG_END}, /* 99 HTML_N_NOFRAMES */
|
||||||
|
|
||||||
{"sup", NULL, 0, 0}, /* 100 HTML_SUP */
|
{"sup", NULL, 0, 0}, /* 100 HTML_SUP */
|
||||||
{"/sup", NULL, 0, 0}, /* 101 HTML_N_SUP */
|
{"/sup", NULL, 0, 0}, /* 101 HTML_N_SUP */
|
||||||
{"sub", NULL, 0, 0}, /* 102 HTML_SUB */
|
{"sub", NULL, 0, 0}, /* 102 HTML_SUB */
|
||||||
{"/sub", NULL, 0, 0}, /* 103 HTML_N_SUB */
|
{"/sub", NULL, 0, 0}, /* 103 HTML_N_SUB */
|
||||||
{NULL, NULL, 0, 0}, /* 104 Undefined */
|
{NULL, NULL, 0, 0}, /* 104 Undefined */
|
||||||
{NULL, NULL, 0, 0}, /* 105 Undefined */
|
{NULL, NULL, 0, 0}, /* 105 Undefined */
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: parsetagx.c,v 1.9 2002/08/27 16:39:40 ukai Exp $ */
|
/* $Id: parsetagx.c,v 1.10 2002/10/16 18:11:15 ukai Exp $ */
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include "myctype.h"
|
#include "myctype.h"
|
||||||
#include "indep.h"
|
#include "indep.h"
|
||||||
@@ -126,7 +126,8 @@ parse_tag(char **s, int internal)
|
|||||||
*(p++) = *(q++);
|
*(p++) = *(q++);
|
||||||
SKIP_BLANKS(q);
|
SKIP_BLANKS(q);
|
||||||
}
|
}
|
||||||
while (*q && !IS_SPACE(*q) && *q != '>' && p - tagname < MAX_TAG_LEN - 1) {
|
while (*q && !IS_SPACE(*q) && !(tagname[0] != '/' && *q == '/') &&
|
||||||
|
*q != '>' && p - tagname < MAX_TAG_LEN - 1) {
|
||||||
*(p++) = tolower(*(q++));
|
*(p++) = tolower(*(q++));
|
||||||
}
|
}
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
|
|||||||
Reference in New Issue
Block a user