static const HtmlTags html_tags NULL TAG_SKIP const_str_len TAG_IS_ALL

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
static const HtmlTags html_tags[] = {
{NULL, 0, TAG_SKIP},
{const_str_len("s"), TAG_IS_ALLOWED},
{const_str_len("u"), TAG_IS_ALLOWED},
{const_str_len("b"), TAG_IS_ALLOWED},
{const_str_len("i"), TAG_IS_ALLOWED},
{const_str_len("img"), TAG_ALT | TAG_ALLOW_SELF_CLOSURE},
{const_str_len("a"), TAG_SAVE_ATTRS | TAG_IS_ALLOWED},
{const_str_len("br"), TAG_IS_BREAK | TAG_ALLOW_SELF_CLOSURE},
{const_str_len("head"), TAG_REPLACE_INNERS},
{const_str_len("style"), TAG_REPLACE_INNERS},
{const_str_len("title"), TAG_REPLACE_INNERS},
{const_str_len("script"), TAG_REPLACE_INNERS},
{const_str_len("textarea"), TAG_REPLACE_INNERS},
{const_str_len("noscript"), TAG_IS_BLOCK},
{const_str_len("html"), TAG_SKIP},
{const_str_len("td"), TAG_SKIP},
{const_str_len("address"), TAG_IS_BLOCK},
{const_str_len("article"), TAG_IS_BLOCK},
{const_str_len("aside"), TAG_IS_BLOCK},
{const_str_len("audio"), TAG_IS_BLOCK},
{const_str_len("blockquote"), TAG_IS_BLOCK},
{const_str_len("canvas"), TAG_IS_BLOCK},
{const_str_len("dd"), TAG_IS_BLOCK},
{const_str_len("div"), TAG_IS_BLOCK},
{const_str_len("dl"), TAG_IS_BLOCK},
{const_str_len("fieldset"), TAG_IS_BLOCK},
{const_str_len("figcaption"), TAG_IS_BLOCK},
{const_str_len("figure"), TAG_IS_BLOCK},
{const_str_len("footer"), TAG_IS_BLOCK},
{const_str_len("form"), TAG_IS_BLOCK},
{const_str_len("h1"), TAG_IS_BLOCK},
{const_str_len("h2"), TAG_IS_BLOCK},
{const_str_len("h3"), TAG_IS_BLOCK},
{const_str_len("h4"), TAG_IS_BLOCK},
{const_str_len("h5"), TAG_IS_BLOCK},
{const_str_len("h6"), TAG_IS_BLOCK},
{const_str_len("header"), TAG_IS_BLOCK},
{const_str_len("hgroup"), TAG_IS_BLOCK},
{const_str_len("hr"), TAG_IS_BLOCK},
{const_str_len("ol"), TAG_IS_BLOCK},
{const_str_len("output"), TAG_IS_BLOCK},
{const_str_len("p"), TAG_IS_BLOCK},
{const_str_len("pre"), TAG_IS_BLOCK},
{const_str_len("section"), TAG_IS_BLOCK},
{const_str_len("table"), TAG_IS_BLOCK},
{const_str_len("tfoot"), TAG_IS_BLOCK},
{const_str_len("tbody"), TAG_IS_BLOCK},
{const_str_len("thead"), TAG_IS_BLOCK},
{const_str_len("ul"), TAG_IS_BLOCK},
{const_str_len("video"), TAG_IS_BLOCK},
{const_str_len("li"), TAG_IS_BLOCK},
{const_str_len("tr"), TAG_IS_BLOCK},
{const_str_len("xbody"), TAG_SKIP},
{const_str_len("xhtml"), TAG_SKIP},
};