diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2020-08-23 10:11:38 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2020-08-23 10:11:38 +0000 |
commit | 9fb7e5beaf376a30f4448d0ab4b0439c2a34c782 (patch) | |
tree | 3cafab2220ffb358c6b094098488707fb540851e /html.c | |
parent | Merge pull request #136 from acli/20200821_figure (diff) | |
download | w3m-9fb7e5beaf376a30f4448d0ab4b0439c2a34c782.tar.gz w3m-9fb7e5beaf376a30f4448d0ab4b0439c2a34c782.zip |
Add TFLG_END to "/sup", "/sub" and "/figure" for TagMAP
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -226,10 +226,9 @@ TagInfo TagMAP[MAX_HTMLTAG] = { {"/noframes", NULL, 0, TFLG_END}, /* 99 HTML_N_NOFRAMES */ {"sup", ALST_NOP, MAXA_NOP, 0}, /* 100 HTML_SUP */ - {"/sup", NULL, 0, 0}, /* 101 HTML_N_SUP */ - /* FIXME: Should /sup and /sub have TFLG_END ? */ + {"/sup", NULL, 0, TFLG_END}, /* 101 HTML_N_SUP */ {"sub", ALST_NOP, MAXA_NOP, 0}, /* 102 HTML_SUB */ - {"/sub", NULL, 0, 0}, /* 103 HTML_N_SUB */ + {"/sub", NULL, 0, TFLG_END}, /* 103 HTML_N_SUB */ {"link", ALST_LINK, MAXA_LINK, 0}, /* 104 HTML_LINK */ {"s", ALST_NOP, MAXA_NOP, 0}, /* 105 HTML_S */ {"/s", NULL, 0, TFLG_END}, /* 106 HTML_N_S */ @@ -267,9 +266,8 @@ TagInfo TagMAP[MAX_HTMLTAG] = { {"param", ALST_NOP, MAXA_NOP, 0}, /* 138 HTML_PARAM */ {"small", ALST_NOP, MAXA_NOP, 0}, /* 139 HTML_SMALL */ {"/small", NULL, 0, TFLG_END}, /* 140 HTML_N_SMALL */ - {"figure", ALST_P, MAXA_P, 0}, /* 141 HTML_FIGURE */ - {"/figure", NULL, 0, 0}, /* 142 HTML_N_FIGURE */ + {"/figure", NULL, 0, TFLG_END}, /* 142 HTML_N_FIGURE */ {"figcaption", ALST_P, MAXA_P, 0}, /* 143 HTML_FIGCAPTION */ {"/figcaption", NULL, 0, TFLG_END}, /* 144 HTML_N_FIGCAPTION */ |