Merge pull request #147 from acli/20200825_section

Rudimentary support for the section tag
This commit is contained in:
Tatsuya Kinoshita
2020-08-30 09:59:02 +09:00
committed by GitHub
4 changed files with 7 additions and 2 deletions

4
html.c
View File

@@ -272,9 +272,9 @@ TagInfo TagMAP[MAX_HTMLTAG] = {
{"/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 */
{"section", ALST_NOP, MAXA_NOP, 0}, /* 145 HTML_SECTION */
{"/section", NULL, 0, TFLG_END}, /* 146 HTML_N_SECTION */
{NULL, NULL, 0, 0}, /* 145 Undefined */
{NULL, NULL, 0, 0}, /* 146 Undefined */
{NULL, NULL, 0, 0}, /* 147 Undefined */
{NULL, NULL, 0, 0}, /* 148 Undefined */
{NULL, NULL, 0, 0}, /* 149 Undefined */