Hubbub $Id$
|
#include <assert.h>
#include <string.h>
#include "treebuilder/modes.h"
#include "treebuilder/internal.h"
#include "treebuilder/treebuilder.h"
#include "utils/utils.h"
Classes | |
struct | case_changes |
Mapping table for case changes. More... | |
Macros | |
#define | S(s) s, SLEN(s) |
#define | S(s) (uint8_t *) s, SLEN(s) |
Functions | |
void | adjust_mathml_attributes (hubbub_treebuilder *treebuilder, hubbub_tag *tag) |
Adjust MathML attributes. More... | |
void | adjust_svg_attributes (hubbub_treebuilder *treebuilder, hubbub_tag *tag) |
Adjust SVG attributes. More... | |
void | adjust_svg_tagname (hubbub_treebuilder *treebuilder, hubbub_tag *tag) |
Adjust SVG tagnmes. More... | |
void | adjust_foreign_attributes (hubbub_treebuilder *treebuilder, hubbub_tag *tag) |
Adjust foreign attributes. More... | |
hubbub_error | handle_in_foreign_content (hubbub_treebuilder *treebuilder, const hubbub_token *token) |
Handle tokens in "in foreign content" insertion mode. More... | |
#define S | ( | s | ) | s, SLEN(s) |
#define S | ( | s | ) | (uint8_t *) s, SLEN(s) |
void adjust_foreign_attributes | ( | hubbub_treebuilder * | treebuilder, |
hubbub_tag * | tag | ||
) |
Adjust foreign attributes.
treebuilder | Treebuilder instance |
tag | Tag to adjust the attributes of |
void adjust_mathml_attributes | ( | hubbub_treebuilder * | treebuilder, |
hubbub_tag * | tag | ||
) |
Adjust MathML attributes.
treebuilder | Treebuilder instance |
tag | Tag to adjust the attributes of |
void adjust_svg_attributes | ( | hubbub_treebuilder * | treebuilder, |
hubbub_tag * | tag | ||
) |
Adjust SVG attributes.
treebuilder | Treebuilder instance |
tag | Tag to adjust the attributes of |
void adjust_svg_tagname | ( | hubbub_treebuilder * | treebuilder, |
hubbub_tag * | tag | ||
) |
Adjust SVG tagnmes.
treebuilder | Treebuilder instance |
tag | Tag to adjust the name of |
hubbub_error handle_in_foreign_content | ( | hubbub_treebuilder * | treebuilder, |
const hubbub_token * | token | ||
) |