aboutsummaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-06 16:49:18 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-06 16:49:18 +0000
commit1d7704dc605651d2219ed641b29a437fae9efc93 (patch)
tree0495d9e2c93828c311a2cadb202e3c7bdb4366f0 /html.c
parent[w3m-dev 03535] close anchor, quote < (diff)
downloadw3m-1d7704dc605651d2219ed641b29a437fae9efc93.tar.gz
w3m-1d7704dc605651d2219ed641b29a437fae9efc93.zip
[w3m-dev 03536] <del>, <s>
* file.c (HTMLtagproc1): <s>..</s> is [S:...:S] (HTMLtagproc0): <del> will delete <table> * fm.h (RB_S): added * html.c (TagMAP): <s>,</s> move <internal>, </internal> * html.h (HTML_S): added (HTML_N_S): added (HTML_INTERNAL): renumed (HTML_N_INTERNAL): ditto (MAX_HTMLTAG): add 2 * rc.c (CMT_DISP_INS_DEL): update * table.c (feed_table_tag): add HTML_S, HTML_N_S * table.h (TBLM_S): added (TBLM_ANCHOR): renum * tagtable.tab: (strike, s): HTML_S (/strike, /s): HTML_N_S From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--html.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/html.c b/html.c
index 67a9319..df86175 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.19 2002/12/05 16:29:07 ukai Exp $ */
+/* $Id: html.c,v 1.20 2002/12/06 16:50:19 ukai Exp $ */
#include "html.h"
/* Define HTML Tag Infomation Table */
@@ -226,11 +226,11 @@ 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 */
- {NULL, NULL, 0, 0}, /* 105 Undefined */
+ {"s", NULL, 0, 0}, /* 105 HTML_S */
+ {"/s", NULL, 0, TFLG_END}, /* 106 HTML_N_S */
+ {NULL, NULL, 0, 0}, /* 107 Undefined */
/* pseudo tag */
- {"internal", NULL, 0, TFLG_INT}, /* 106 HTML_INTERNAL */
- {"/internal", NULL, 0, TFLG_INT | TFLG_END}, /* 107 HTML_N_INTERNAL */
{"select_int", ALST_SELECT_INT, MAXA_SELECT_INT, TFLG_INT}, /* 108 HTML_SELECT_INT */
{"/select_int", NULL, 0, TFLG_INT | TFLG_END}, /* 109 HTML_N_SELECT_INT */
{"option_int", ALST_OPTION, MAXA_OPTION, TFLG_INT}, /* 110 HTML_OPTION_INT */
@@ -252,6 +252,8 @@ TagInfo TagMAP[MAX_HTMLTAG] = {
{" ", ALST_NOP, MAXA_NOP, TFLG_INT}, /* 126 HTML_NOP */
{"pre_plain", NULL, 0, TFLG_INT}, /* 127 HTML_PRE_PLAIN */
{"/pre_plain", NULL, 0, TFLG_INT | TFLG_END}, /* 128 HTML_N_PRE_PLAIN */
+ {"internal", NULL, 0, TFLG_INT}, /* 129 HTML_INTERNAL */
+ {"/internal", NULL, 0, TFLG_INT | TFLG_END}, /* 130 HTML_N_INTERNAL */
};
TagAttrInfo AttrMAP[MAX_TAGATTR] = {