diff options
Diffstat (limited to 'src/treebuilder/in_head.c')
-rw-r--r-- | src/treebuilder/in_head.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/treebuilder/in_head.c b/src/treebuilder/in_head.c index 96ff87d..4163343 100644 --- a/src/treebuilder/in_head.c +++ b/src/treebuilder/in_head.c @@ -117,3 +117,17 @@ bool handle_in_head(hubbub_treebuilder *treebuilder, return reprocess; } + + +/** + * Process a tag as if in the "in head" state. + * + * \param treebuilder The treebuilder instance + * \param token The token to process + * \return True to reprocess the token, false otherwise + */ +bool process_in_head(hubbub_treebuilder *treebuilder, + const hubbub_token *token) +{ + return handle_in_head(treebuilder, token); +} |