diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2020-08-23 10:07:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 10:07:22 +0000 |
commit | 59f873b7bf709f63b6f724f38614e699681de2e3 (patch) | |
tree | b080e66c539a1171bf2b43b60ff66f16bc960d64 /html.c | |
parent | Update ChangeLog (diff) | |
parent | Rudimentary support for figure, figcaption (diff) | |
download | w3m-59f873b7bf709f63b6f724f38614e699681de2e3.tar.gz w3m-59f873b7bf709f63b6f724f38614e699681de2e3.zip |
Merge pull request #136 from acli/20200821_figure
Rudimentary support for figure, figcaption
Diffstat (limited to '')
-rw-r--r-- | html.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -268,10 +268,11 @@ TagInfo TagMAP[MAX_HTMLTAG] = { {"small", ALST_NOP, MAXA_NOP, 0}, /* 139 HTML_SMALL */ {"/small", NULL, 0, TFLG_END}, /* 140 HTML_N_SMALL */ - {NULL, NULL, 0, 0}, /* 141 Undefined */ - {NULL, NULL, 0, 0}, /* 142 Undefined */ - {NULL, NULL, 0, 0}, /* 143 Undefined */ - {NULL, NULL, 0, 0}, /* 144 Undefined */ + {"figure", ALST_P, MAXA_P, 0}, /* 141 HTML_FIGURE */ + {"/figure", NULL, 0, 0}, /* 142 HTML_N_FIGURE */ + {"figcaption", ALST_P, MAXA_P, 0}, /* 143 HTML_FIGCAPTION */ + {"/figcaption", NULL, 0, TFLG_END}, /* 144 HTML_N_FIGCAPTION */ + {NULL, NULL, 0, 0}, /* 145 Undefined */ {NULL, NULL, 0, 0}, /* 146 Undefined */ {NULL, NULL, 0, 0}, /* 147 Undefined */ |