lite-email-parser 2.0.4 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/LICENSE +21 -0
  2. package/dist/index.cjs +29 -4
  3. package/dist/index.d.cts.map +1 -1
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +27 -35
  6. package/package.json +15 -29
  7. package/binding.gyp +0 -47
  8. package/core/include/html_extractor.h +0 -100
  9. package/core/include/html_parser.h +0 -13
  10. package/core/src/html_extractor.cpp +0 -662
  11. package/core/src/html_parser.cpp +0 -221
  12. package/deps/gumbo-parser/src/attribute.c +0 -44
  13. package/deps/gumbo-parser/src/attribute.h +0 -37
  14. package/deps/gumbo-parser/src/char_ref.c +0 -301
  15. package/deps/gumbo-parser/src/char_ref.h +0 -70
  16. package/deps/gumbo-parser/src/char_ref_gperf.c +0 -11126
  17. package/deps/gumbo-parser/src/error.c +0 -287
  18. package/deps/gumbo-parser/src/error.h +0 -225
  19. package/deps/gumbo-parser/src/gumbo.h +0 -683
  20. package/deps/gumbo-parser/src/insertion_mode.h +0 -55
  21. package/deps/gumbo-parser/src/parser.c +0 -4433
  22. package/deps/gumbo-parser/src/parser.h +0 -57
  23. package/deps/gumbo-parser/src/string_buffer.c +0 -110
  24. package/deps/gumbo-parser/src/string_buffer.h +0 -84
  25. package/deps/gumbo-parser/src/string_piece.c +0 -48
  26. package/deps/gumbo-parser/src/string_piece.h +0 -38
  27. package/deps/gumbo-parser/src/tag.c +0 -125
  28. package/deps/gumbo-parser/src/tag_enum.h +0 -155
  29. package/deps/gumbo-parser/src/tag_gperf.h +0 -350
  30. package/deps/gumbo-parser/src/tag_sizes.h +0 -2
  31. package/deps/gumbo-parser/src/tag_strings.h +0 -155
  32. package/deps/gumbo-parser/src/token_type.h +0 -42
  33. package/deps/gumbo-parser/src/tokenizer.c +0 -3003
  34. package/deps/gumbo-parser/src/tokenizer.h +0 -123
  35. package/deps/gumbo-parser/src/tokenizer_states.h +0 -104
  36. package/deps/gumbo-parser/src/utf8.c +0 -270
  37. package/deps/gumbo-parser/src/utf8.h +0 -132
  38. package/deps/gumbo-parser/src/util.c +0 -58
  39. package/deps/gumbo-parser/src/util.h +0 -60
  40. package/deps/gumbo-parser/src/vector.c +0 -128
  41. package/deps/gumbo-parser/src/vector.h +0 -70
  42. package/dist/cjs/index.cjs +0 -63
  43. package/dist/cjs/index.d.cts +0 -9
  44. package/dist/cjs/index.d.cts.map +0 -1
  45. package/dist/cjs/index.d.ts +0 -9
  46. package/dist/cjs/index.d.ts.map +0 -1
  47. package/dist/cjs/index.js +0 -98
  48. package/dist/cjs/package.json +0 -1
  49. package/dist/cjs/parser.d.ts +0 -4
  50. package/dist/cjs/parser.d.ts.map +0 -1
  51. package/dist/cjs/parser.js +0 -118
  52. package/dist/cjs/types.d.ts +0 -14
  53. package/dist/cjs/types.d.ts.map +0 -1
  54. package/dist/cjs/types.js +0 -2
  55. package/dist/parser.d.ts +0 -4
  56. package/dist/parser.d.ts.map +0 -1
  57. package/dist/parser.js +0 -81
  58. package/src/addon.cpp +0 -141
@@ -1,57 +0,0 @@
1
- // Copyright 2010 Google Inc. All Rights Reserved.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // Author: jdtang@google.com (Jonathan Tang)
16
- //
17
- // Contains the definition of the top-level GumboParser structure that's
18
- // threaded through basically every internal function in the library.
19
-
20
- #ifndef GUMBO_PARSER_H_
21
- #define GUMBO_PARSER_H_
22
-
23
- #ifdef __cplusplus
24
- extern "C" {
25
- #endif
26
-
27
- struct GumboInternalParserState;
28
- struct GumboInternalOutput;
29
- struct GumboInternalOptions;
30
- struct GumboInternalTokenizerState;
31
-
32
- // An overarching struct that's threaded through (nearly) all functions in the
33
- // library, OOP-style. This gives each function access to the options and
34
- // output, along with any internal state needed for the parse.
35
- typedef struct GumboInternalParser {
36
- // Settings for this parse run.
37
- const struct GumboInternalOptions* _options;
38
-
39
- // Output for the parse.
40
- struct GumboInternalOutput* _output;
41
-
42
- // The internal tokenizer state, defined as a pointer to avoid a cyclic
43
- // dependency on html5tokenizer.h. The main parse routine is responsible for
44
- // initializing this on parse start, and destroying it on parse end.
45
- // End-users will never see a non-garbage value in this pointer.
46
- struct GumboInternalTokenizerState* _tokenizer_state;
47
-
48
- // The internal parser state. Initialized on parse start and destroyed on
49
- // parse end; end-users will never see a non-garbage value in this pointer.
50
- struct GumboInternalParserState* _parser_state;
51
- } GumboParser;
52
-
53
- #ifdef __cplusplus
54
- }
55
- #endif
56
-
57
- #endif // GUMBO_PARSER_H_
@@ -1,110 +0,0 @@
1
- // Copyright 2010 Google Inc. All Rights Reserved.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // Author: jdtang@google.com (Jonathan Tang)
16
-
17
- #include "string_buffer.h"
18
-
19
- #include <assert.h>
20
- #include <stdlib.h>
21
- #include <string.h>
22
- #include <strings.h>
23
-
24
- #include "string_piece.h"
25
- #include "util.h"
26
-
27
- struct GumboInternalParser;
28
-
29
- // Size chosen via statistical analysis of ~60K websites.
30
- // 99% of text nodes and 98% of attribute names/values fit in this initial size.
31
- static const size_t kDefaultStringBufferSize = 5;
32
-
33
- static void maybe_resize_string_buffer(struct GumboInternalParser* parser,
34
- size_t additional_chars, GumboStringBuffer* buffer) {
35
- size_t new_length = buffer->length + additional_chars;
36
- size_t new_capacity = buffer->capacity;
37
- while (new_capacity < new_length) {
38
- new_capacity *= 2;
39
- }
40
- if (new_capacity != buffer->capacity) {
41
- char* new_data = gumbo_parser_allocate(parser, new_capacity);
42
- memcpy(new_data, buffer->data, buffer->length);
43
- gumbo_parser_deallocate(parser, buffer->data);
44
- buffer->data = new_data;
45
- buffer->capacity = new_capacity;
46
- }
47
- }
48
-
49
- void gumbo_string_buffer_init(
50
- struct GumboInternalParser* parser, GumboStringBuffer* output) {
51
- output->data = gumbo_parser_allocate(parser, kDefaultStringBufferSize);
52
- output->length = 0;
53
- output->capacity = kDefaultStringBufferSize;
54
- }
55
-
56
- void gumbo_string_buffer_reserve(struct GumboInternalParser* parser,
57
- size_t min_capacity, GumboStringBuffer* output) {
58
- maybe_resize_string_buffer(parser, min_capacity - output->length, output);
59
- }
60
-
61
- void gumbo_string_buffer_append_codepoint(
62
- struct GumboInternalParser* parser, int c, GumboStringBuffer* output) {
63
- // num_bytes is actually the number of continuation bytes, 1 less than the
64
- // total number of bytes. This is done to keep the loop below simple and
65
- // should probably change if we unroll it.
66
- int num_bytes, prefix;
67
- if (c <= 0x7f) {
68
- num_bytes = 0;
69
- prefix = 0;
70
- } else if (c <= 0x7ff) {
71
- num_bytes = 1;
72
- prefix = 0xc0;
73
- } else if (c <= 0xffff) {
74
- num_bytes = 2;
75
- prefix = 0xe0;
76
- } else {
77
- num_bytes = 3;
78
- prefix = 0xf0;
79
- }
80
- maybe_resize_string_buffer(parser, num_bytes + 1, output);
81
- output->data[output->length++] = prefix | (c >> (num_bytes * 6));
82
- for (int i = num_bytes - 1; i >= 0; --i) {
83
- output->data[output->length++] = 0x80 | (0x3f & (c >> (i * 6)));
84
- }
85
- }
86
-
87
- void gumbo_string_buffer_append_string(struct GumboInternalParser* parser,
88
- GumboStringPiece* str, GumboStringBuffer* output) {
89
- maybe_resize_string_buffer(parser, str->length, output);
90
- memcpy(output->data + output->length, str->data, str->length);
91
- output->length += str->length;
92
- }
93
-
94
- char* gumbo_string_buffer_to_string(
95
- struct GumboInternalParser* parser, GumboStringBuffer* input) {
96
- char* buffer = gumbo_parser_allocate(parser, input->length + 1);
97
- memcpy(buffer, input->data, input->length);
98
- buffer[input->length] = '\0';
99
- return buffer;
100
- }
101
-
102
- void gumbo_string_buffer_clear(
103
- struct GumboInternalParser* parser, GumboStringBuffer* input) {
104
- input->length = 0;
105
- }
106
-
107
- void gumbo_string_buffer_destroy(
108
- struct GumboInternalParser* parser, GumboStringBuffer* buffer) {
109
- gumbo_parser_deallocate(parser, buffer->data);
110
- }
@@ -1,84 +0,0 @@
1
- // Copyright 2010 Google Inc. All Rights Reserved.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // Author: jdtang@google.com (Jonathan Tang)
16
- //
17
- #ifndef GUMBO_STRING_BUFFER_H_
18
- #define GUMBO_STRING_BUFFER_H_
19
-
20
- #include <stdbool.h>
21
- #include <stddef.h>
22
-
23
- #include "gumbo.h"
24
-
25
- #ifdef __cplusplus
26
- extern "C" {
27
- #endif
28
-
29
- struct GumboInternalParser;
30
-
31
- // A struct representing a mutable, growable string. This consists of a
32
- // heap-allocated buffer that may grow (by doubling) as necessary. When
33
- // converting to a string, this allocates a new buffer that is only as long as
34
- // it needs to be. Note that the internal buffer here is *not* nul-terminated,
35
- // so be sure not to use ordinary string manipulation functions on it.
36
- typedef struct {
37
- // A pointer to the beginning of the string. NULL iff length == 0.
38
- char* data;
39
-
40
- // The length of the string fragment, in bytes. May be zero.
41
- size_t length;
42
-
43
- // The capacity of the buffer, in bytes.
44
- size_t capacity;
45
- } GumboStringBuffer;
46
-
47
- // Initializes a new GumboStringBuffer.
48
- void gumbo_string_buffer_init(
49
- struct GumboInternalParser* parser, GumboStringBuffer* output);
50
-
51
- // Ensures that the buffer contains at least a certain amount of space. Most
52
- // useful with snprintf and the other length-delimited string functions, which
53
- // may want to write directly into the buffer.
54
- void gumbo_string_buffer_reserve(struct GumboInternalParser* parser,
55
- size_t min_capacity, GumboStringBuffer* output);
56
-
57
- // Appends a single Unicode codepoint onto the end of the GumboStringBuffer.
58
- // This is essentially a UTF-8 encoder, and may add 1-4 bytes depending on the
59
- // value of the codepoint.
60
- void gumbo_string_buffer_append_codepoint(
61
- struct GumboInternalParser* parser, int c, GumboStringBuffer* output);
62
-
63
- // Appends a string onto the end of the GumboStringBuffer.
64
- void gumbo_string_buffer_append_string(struct GumboInternalParser* parser,
65
- GumboStringPiece* str, GumboStringBuffer* output);
66
-
67
- // Converts this string buffer to const char*, alloctaing a new buffer for it.
68
- char* gumbo_string_buffer_to_string(
69
- struct GumboInternalParser* parser, GumboStringBuffer* input);
70
-
71
- // Reinitialize this string buffer. This clears it by setting length=0. It
72
- // does not zero out the buffer itself.
73
- void gumbo_string_buffer_clear(
74
- struct GumboInternalParser* parser, GumboStringBuffer* input);
75
-
76
- // Deallocates this GumboStringBuffer.
77
- void gumbo_string_buffer_destroy(
78
- struct GumboInternalParser* parser, GumboStringBuffer* buffer);
79
-
80
- #ifdef __cplusplus
81
- }
82
- #endif
83
-
84
- #endif // GUMBO_STRING_BUFFER_H_
@@ -1,48 +0,0 @@
1
- // Copyright 2010 Google Inc. All Rights Reserved.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // Author: jdtang@google.com (Jonathan Tang)
16
-
17
- #include "string_piece.h"
18
-
19
- #include <assert.h>
20
- #include <stdlib.h>
21
- #include <string.h>
22
- #include <strings.h>
23
-
24
- #include "util.h"
25
-
26
- struct GumboInternalParser;
27
-
28
- const GumboStringPiece kGumboEmptyString = {NULL, 0};
29
-
30
- bool gumbo_string_equals(
31
- const GumboStringPiece* str1, const GumboStringPiece* str2) {
32
- return str1->length == str2->length &&
33
- !memcmp(str1->data, str2->data, str1->length);
34
- }
35
-
36
- bool gumbo_string_equals_ignore_case(
37
- const GumboStringPiece* str1, const GumboStringPiece* str2) {
38
- return str1->length == str2->length &&
39
- !strncasecmp(str1->data, str2->data, str1->length);
40
- }
41
-
42
- void gumbo_string_copy(struct GumboInternalParser* parser,
43
- GumboStringPiece* dest, const GumboStringPiece* source) {
44
- dest->length = source->length;
45
- char* buffer = gumbo_parser_allocate(parser, source->length);
46
- memcpy(buffer, source->data, source->length);
47
- dest->data = buffer;
48
- }
@@ -1,38 +0,0 @@
1
- // Copyright 2010 Google Inc. All Rights Reserved.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // Author: jdtang@google.com (Jonathan Tang)
16
-
17
- #ifndef GUMBO_STRING_PIECE_H_
18
- #define GUMBO_STRING_PIECE_H_
19
-
20
- #include "gumbo.h"
21
-
22
- #ifdef __cplusplus
23
- extern "C" {
24
- #endif
25
-
26
- struct GumboInternalParser;
27
-
28
- // Performs a deep-copy of an GumboStringPiece, allocating a fresh buffer in the
29
- // destination and copying over the characters from source. Dest should be
30
- // empty, with no buffer allocated; otherwise, this leaks it.
31
- void gumbo_string_copy(struct GumboInternalParser* parser,
32
- GumboStringPiece* dest, const GumboStringPiece* source);
33
-
34
- #ifdef __cplusplus
35
- }
36
- #endif
37
-
38
- #endif // GUMBO_STRING_PIECE_H_
@@ -1,125 +0,0 @@
1
- // Copyright 2011 Google Inc. All Rights Reserved.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // Author: jdtang@google.com (Jonathan Tang)
16
-
17
- #include "gumbo.h"
18
-
19
- #include <assert.h>
20
- #include <ctype.h>
21
- #include <string.h>
22
-
23
- const char* kGumboTagNames[] = {
24
- #include "tag_strings.h"
25
- "", // TAG_UNKNOWN
26
- "", // TAG_LAST
27
- };
28
-
29
- static const unsigned char kGumboTagSizes[] = {
30
- #include "tag_sizes.h"
31
- 0, // TAG_UNKNOWN
32
- 0, // TAG_LAST
33
- };
34
-
35
- bool gumbo_tag_is_void(GumboTag tag) {
36
- // https://html.spec.whatwg.org/multipage/syntax.html#void-elements
37
- switch (tag) {
38
- case GUMBO_TAG_AREA:
39
- case GUMBO_TAG_BASE:
40
- case GUMBO_TAG_BR:
41
- case GUMBO_TAG_COL:
42
- case GUMBO_TAG_EMBED:
43
- case GUMBO_TAG_HR:
44
- case GUMBO_TAG_IMG:
45
- case GUMBO_TAG_INPUT:
46
- case GUMBO_TAG_LINK:
47
- case GUMBO_TAG_META:
48
- case GUMBO_TAG_SOURCE:
49
- case GUMBO_TAG_TRACK:
50
- case GUMBO_TAG_WBR:
51
-
52
- // These tags are not listed in the spec as "void" because they are
53
- // deprecated, but they are kept here for compatibility purposes.
54
- case GUMBO_TAG_BASEFONT:
55
- case GUMBO_TAG_BGSOUND:
56
- case GUMBO_TAG_FRAME:
57
- case GUMBO_TAG_KEYGEN:
58
- case GUMBO_TAG_PARAM:
59
- return true;
60
-
61
- default:
62
- return false;
63
- }
64
- }
65
-
66
- const char* gumbo_normalized_tagname(GumboTag tag) {
67
- assert(tag <= GUMBO_TAG_LAST);
68
- return kGumboTagNames[tag];
69
- }
70
-
71
- void gumbo_tag_from_original_text(GumboStringPiece* text) {
72
- if (text->data == NULL) {
73
- return;
74
- }
75
- assert(text->length >= 2);
76
- assert(text->data[0] == '<');
77
- assert(text->data[text->length - 1] == '>');
78
- if (text->data[1] == '/') {
79
- // End tag.
80
- assert(text->length >= 3);
81
- text->data += 2; // Move past </
82
- text->length -= 3;
83
- } else {
84
- // Start tag.
85
- text->data += 1; // Move past <
86
- text->length -= 2;
87
- // explicitly looking for whitespace or other illegal tag characters.
88
- // see https://html.spec.whatwg.org/multipage/syntax.html#tag-name-state
89
- for (const char* c = text->data; c != text->data + text->length; ++c) {
90
- if (*c == ' ' || *c == '\t' || *c == '\n' || *c == '\f' || *c == '/') {
91
- text->length = c - text->data;
92
- break;
93
- }
94
- }
95
- }
96
- }
97
-
98
- static int case_memcmp(const char* s1, const char* s2, unsigned int n) {
99
- while (n--) {
100
- unsigned char c1 = tolower(*s1++);
101
- unsigned char c2 = tolower(*s2++);
102
- if (c1 != c2) return (int) c1 - (int) c2;
103
- }
104
- return 0;
105
- }
106
-
107
- #include "tag_gperf.h"
108
- #define TAG_MAP_SIZE (sizeof(kGumboTagMap) / sizeof(kGumboTagMap[0]))
109
-
110
- GumboTag gumbo_tagn_enum(const char* tagname, unsigned int length) {
111
- if (length) {
112
- unsigned int key = tag_hash(tagname, length);
113
- if (key < TAG_MAP_SIZE) {
114
- GumboTag tag = kGumboTagMap[key];
115
- if (length == kGumboTagSizes[(int) tag] &&
116
- !case_memcmp(tagname, kGumboTagNames[(int) tag], length))
117
- return tag;
118
- }
119
- }
120
- return GUMBO_TAG_UNKNOWN;
121
- }
122
-
123
- GumboTag gumbo_tag_enum(const char* tagname) {
124
- return gumbo_tagn_enum(tagname, strlen(tagname));
125
- }
@@ -1,155 +0,0 @@
1
- // Do not edit! Modify src/tag.in instead. Generated via gentags.sh
2
- GUMBO_TAG_HTML,
3
- GUMBO_TAG_HEAD,
4
- GUMBO_TAG_TITLE,
5
- GUMBO_TAG_BASE,
6
- GUMBO_TAG_LINK,
7
- GUMBO_TAG_META,
8
- GUMBO_TAG_STYLE,
9
- GUMBO_TAG_SCRIPT,
10
- GUMBO_TAG_NOSCRIPT,
11
- GUMBO_TAG_TEMPLATE,
12
- GUMBO_TAG_BODY,
13
- GUMBO_TAG_ARTICLE,
14
- GUMBO_TAG_SECTION,
15
- GUMBO_TAG_NAV,
16
- GUMBO_TAG_ASIDE,
17
- GUMBO_TAG_H1,
18
- GUMBO_TAG_H2,
19
- GUMBO_TAG_H3,
20
- GUMBO_TAG_H4,
21
- GUMBO_TAG_H5,
22
- GUMBO_TAG_H6,
23
- GUMBO_TAG_HGROUP,
24
- GUMBO_TAG_HEADER,
25
- GUMBO_TAG_FOOTER,
26
- GUMBO_TAG_ADDRESS,
27
- GUMBO_TAG_P,
28
- GUMBO_TAG_HR,
29
- GUMBO_TAG_PRE,
30
- GUMBO_TAG_BLOCKQUOTE,
31
- GUMBO_TAG_OL,
32
- GUMBO_TAG_UL,
33
- GUMBO_TAG_LI,
34
- GUMBO_TAG_DL,
35
- GUMBO_TAG_DT,
36
- GUMBO_TAG_DD,
37
- GUMBO_TAG_FIGURE,
38
- GUMBO_TAG_FIGCAPTION,
39
- GUMBO_TAG_MAIN,
40
- GUMBO_TAG_DIV,
41
- GUMBO_TAG_A,
42
- GUMBO_TAG_EM,
43
- GUMBO_TAG_STRONG,
44
- GUMBO_TAG_SMALL,
45
- GUMBO_TAG_S,
46
- GUMBO_TAG_CITE,
47
- GUMBO_TAG_Q,
48
- GUMBO_TAG_DFN,
49
- GUMBO_TAG_ABBR,
50
- GUMBO_TAG_DATA,
51
- GUMBO_TAG_TIME,
52
- GUMBO_TAG_CODE,
53
- GUMBO_TAG_VAR,
54
- GUMBO_TAG_SAMP,
55
- GUMBO_TAG_KBD,
56
- GUMBO_TAG_SUB,
57
- GUMBO_TAG_SUP,
58
- GUMBO_TAG_I,
59
- GUMBO_TAG_B,
60
- GUMBO_TAG_U,
61
- GUMBO_TAG_MARK,
62
- GUMBO_TAG_RUBY,
63
- GUMBO_TAG_RT,
64
- GUMBO_TAG_RP,
65
- GUMBO_TAG_BDI,
66
- GUMBO_TAG_BDO,
67
- GUMBO_TAG_SPAN,
68
- GUMBO_TAG_BR,
69
- GUMBO_TAG_WBR,
70
- GUMBO_TAG_INS,
71
- GUMBO_TAG_DEL,
72
- GUMBO_TAG_IMAGE,
73
- GUMBO_TAG_IMG,
74
- GUMBO_TAG_PICTURE,
75
- GUMBO_TAG_IFRAME,
76
- GUMBO_TAG_EMBED,
77
- GUMBO_TAG_OBJECT,
78
- GUMBO_TAG_PARAM,
79
- GUMBO_TAG_VIDEO,
80
- GUMBO_TAG_AUDIO,
81
- GUMBO_TAG_SOURCE,
82
- GUMBO_TAG_TRACK,
83
- GUMBO_TAG_CANVAS,
84
- GUMBO_TAG_MAP,
85
- GUMBO_TAG_AREA,
86
- GUMBO_TAG_MATH,
87
- GUMBO_TAG_MI,
88
- GUMBO_TAG_MO,
89
- GUMBO_TAG_MN,
90
- GUMBO_TAG_MS,
91
- GUMBO_TAG_MTEXT,
92
- GUMBO_TAG_MGLYPH,
93
- GUMBO_TAG_MALIGNMARK,
94
- GUMBO_TAG_ANNOTATION_XML,
95
- GUMBO_TAG_SVG,
96
- GUMBO_TAG_FOREIGNOBJECT,
97
- GUMBO_TAG_DESC,
98
- GUMBO_TAG_TABLE,
99
- GUMBO_TAG_CAPTION,
100
- GUMBO_TAG_COLGROUP,
101
- GUMBO_TAG_COL,
102
- GUMBO_TAG_TBODY,
103
- GUMBO_TAG_THEAD,
104
- GUMBO_TAG_TFOOT,
105
- GUMBO_TAG_TR,
106
- GUMBO_TAG_TD,
107
- GUMBO_TAG_TH,
108
- GUMBO_TAG_FORM,
109
- GUMBO_TAG_FIELDSET,
110
- GUMBO_TAG_LEGEND,
111
- GUMBO_TAG_LABEL,
112
- GUMBO_TAG_INPUT,
113
- GUMBO_TAG_BUTTON,
114
- GUMBO_TAG_SELECT,
115
- GUMBO_TAG_SELECTEDCONTENT,
116
- GUMBO_TAG_DATALIST,
117
- GUMBO_TAG_OPTGROUP,
118
- GUMBO_TAG_OPTION,
119
- GUMBO_TAG_TEXTAREA,
120
- GUMBO_TAG_KEYGEN,
121
- GUMBO_TAG_OUTPUT,
122
- GUMBO_TAG_PROGRESS,
123
- GUMBO_TAG_METER,
124
- GUMBO_TAG_DETAILS,
125
- GUMBO_TAG_SUMMARY,
126
- GUMBO_TAG_MENU,
127
- GUMBO_TAG_MENUITEM,
128
- GUMBO_TAG_APPLET,
129
- GUMBO_TAG_ACRONYM,
130
- GUMBO_TAG_BGSOUND,
131
- GUMBO_TAG_DIR,
132
- GUMBO_TAG_FRAME,
133
- GUMBO_TAG_FRAMESET,
134
- GUMBO_TAG_NOFRAMES,
135
- GUMBO_TAG_ISINDEX,
136
- GUMBO_TAG_LISTING,
137
- GUMBO_TAG_XMP,
138
- GUMBO_TAG_NEXTID,
139
- GUMBO_TAG_NOEMBED,
140
- GUMBO_TAG_PLAINTEXT,
141
- GUMBO_TAG_RB,
142
- GUMBO_TAG_STRIKE,
143
- GUMBO_TAG_BASEFONT,
144
- GUMBO_TAG_BIG,
145
- GUMBO_TAG_BLINK,
146
- GUMBO_TAG_CENTER,
147
- GUMBO_TAG_FONT,
148
- GUMBO_TAG_MARQUEE,
149
- GUMBO_TAG_MULTICOL,
150
- GUMBO_TAG_NOBR,
151
- GUMBO_TAG_SPACER,
152
- GUMBO_TAG_DIALOG,
153
- GUMBO_TAG_SEARCH,
154
- GUMBO_TAG_TT,
155
- GUMBO_TAG_RTC,