From 73949a3e125e133c1297a62771425dbbd6bf243d Mon Sep 17 00:00:00 2001 From: Ambrose Li Date: Fri, 21 Aug 2020 04:26:26 -0400 Subject: Rudimentary support for figure, figcaption --- html.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index d9f08e9..0c41332 100644 --- a/html.c +++ b/html.c @@ -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 */ -- cgit v1.2.3