Commit 356840c4 authored by jan.koester's avatar jan.koester
Browse files

test

parent ef140867
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
.vs
build
out
.cache/clangd/index/css.cpp.1D65C88C61E750EF.idx
.cache/clangd/index/csstest.cpp.1A240B7D01496AE0.idx
.cache/clangd/index/encode.h.CBC2FCAB9541A899.idx
.cache/clangd/index/exception.cpp.F1E8D3E07D37363D.idx
.cache/clangd/index/exception.h.E7BAA01DB3854F78.idx
.cache/clangd/index/html.cpp.07C01BD89FEB93A3.idx
.cache/clangd/index/html.h.2DF0BDCC1653CCFD.idx
.cache/clangd/index/htmlcopytest.cpp.39620CBA9609D653.idx
.cache/clangd/index/htmlinserttest.cpp.7680ED7812AE1FD1.idx
.cache/clangd/index/htmlpagetest.cpp.79A71A90992AAE16.idx
.cache/clangd/index/ostream.cpp.483724B85409135A.idx
.cache/clangd/index/request.cpp.A27D782A68EBA241.idx
.cache/clangd/index/utils.h.58312DDB2C4CA9BD.idx
.kdev4/libhtmlpp.kdev4
+92 −13
Original line number Diff line number Diff line
@@ -59,28 +59,107 @@

namespace libhtmlpp {

    const std::array<std::string_view,21> ContainerTypes{{
    const std::array<std::string_view,100> ContainerTypes{{
        "a",
        "abbr",
        "address",
        "article",
        "aside",
        "audio",
        "b",
        "bdi",
        "bdo",
        "blockquote",
        "body",
        "button",
        "canvas",
        "caption",
        "cite",
        "code",
        "colgroup",
        "data",
        "datalist",
        "dd",
        "del",
        "details",
        "dfn",
        "dialog",
        "div",
        "style",
        "span",
        "dl",
        "dt",
        "em",
        "fieldset",
        "figcaption",
        "figure",
        "footer",
        "form",
        "frame",
        "iframe",
        "textarea",
        "frameset",
        "h1",
        "h2",
        "h3",
        "h4",
        "h5",
        "h6",
        "head",
        "header",
        "hgroup",
        "html",
        "i",
        "iframe",
        "ins",
        "kbd",
        "label",
        "legend",
        "li",
        "main",
        "map",
        "mark",
        "menu",
        "meter",
        "nav",
        "noscript",
        "object",
        "ol",
        "optgroup",
        "option",
        "output",
        "p",
        "picture",
        "pre",
        "progress",
        "q",
        "rp",
        "rt",
        "ruby",
        "s",
        "samp",
        "search",
        "section",
        "select",
        "small",
        "span",
        "strong",
        "style",
        "sub",
        "summary",
        "sup",
        "svg",
        "table",
        "tbody",
        "td",
        "template",
        "textarea",
        "tfoot",
        "th",
        "thead",
        "time",
        "title",
        "tr",
        "select",
        "u",
        "ul",
        "option",
        "noscript",
        "footer",
        "header",
        "main",
        "html",
        "a"
        "var",
        "video"
    }};

    class DocElements {