[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:
Fumitoshi UKAI
2002-10-16 18:11:15 +00:00
parent e6e9b7ae2e
commit eca32d1b71
3 changed files with 14 additions and 8 deletions

10
html.c
View File

@@ -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"
/* Define HTML Tag Infomation Table */
@@ -216,10 +216,10 @@ TagInfo TagMAP[MAX_HTMLTAG] = {
{"noframes", ALST_NOFRAMES, MAXA_NOFRAMES, 0}, /* 98 HTML_NOFRAMES */
{"/noframes", NULL, 0, TFLG_END}, /* 99 HTML_N_NOFRAMES */
{"sup", NULL, 0, 0}, /* 100 HTML_SUP */
{"/sup", NULL, 0, 0}, /* 101 HTML_N_SUP */
{"sub", NULL, 0, 0}, /* 102 HTML_SUB */
{"/sub", NULL, 0, 0}, /* 103 HTML_N_SUB */
{"sup", NULL, 0, 0}, /* 100 HTML_SUP */
{"/sup", NULL, 0, 0}, /* 101 HTML_N_SUP */
{"sub", NULL, 0, 0}, /* 102 HTML_SUB */
{"/sub", NULL, 0, 0}, /* 103 HTML_N_SUB */
{NULL, NULL, 0, 0}, /* 104 Undefined */
{NULL, NULL, 0, 0}, /* 105 Undefined */