diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2020-05-22 12:07:16 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2020-05-22 12:07:16 +0100 |
commit | 595df53b981454939c903182248bd9d983f380b3 (patch) | |
tree | 1061341553ce017effba2c0e4fc63faa5a830601 /src/treebuilder/treebuilder.c | |
parent | 4d0a0f5290c8dcc31fef17aaed0788bb1309f9bd (diff) | |
download | libhubbub-595df53b981454939c903182248bd9d983f380b3.tar.gz libhubbub-595df53b981454939c903182248bd9d983f380b3.tar.bz2 |
Treebuilder: Add some new element names.
Diffstat (limited to 'src/treebuilder/treebuilder.c')
-rw-r--r-- | src/treebuilder/treebuilder.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/treebuilder/treebuilder.c b/src/treebuilder/treebuilder.c index 0c171e3..b84ca11 100644 --- a/src/treebuilder/treebuilder.c +++ b/src/treebuilder/treebuilder.c @@ -27,6 +27,8 @@ static const struct { } name_type_map[] = { { S("address"), ADDRESS }, { S("area"), AREA }, + { S("article"), ARTICLE }, + { S("aside"), ASIDE }, { S("base"), BASE }, { S("basefont"), BASEFONT }, { S("bgsound"), BGSOUND }, @@ -36,13 +38,19 @@ static const struct { { S("center"), CENTER }, { S("col"), COL }, { S("colgroup"), COLGROUP }, + { S("command"), COMMAND }, { S("dd"), DD }, + { S("details"), DETAILS }, + { S("dialog"), DIALOG }, { S("dir"), DIR }, { S("div"), DIV }, { S("dl"), DL }, { S("dt"), DT }, { S("embed"), EMBED }, { S("fieldset"), FIELDSET }, + { S("figcaption"), FIGCAPTION }, + { S("figure"), FIGURE }, + { S("footer"), FOOTER }, { S("form"), FORM }, { S("frame"), FRAME }, { S("frameset"), FRAMESET }, @@ -79,6 +87,7 @@ static const struct { { S("select"), SELECT }, { S("spacer"), SPACER }, { S("style"), STYLE }, + { S("summary"), SUMMARY }, { S("tbody"), TBODY }, { S("textarea"), TEXTAREA }, { S("tfoot"), TFOOT }, @@ -111,6 +120,7 @@ static const struct { { S("strong"), STRONG }, { S("tt"), TT }, { S("u"), U }, + { S("xmp"), XMP }, { S("math"), MATH }, |