summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-06-16 06:18:00 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-06-16 06:18:00 +0000
commita65fc4a976d5994042ac13c15f9de63f4e042bdd (patch)
treeae7b4d949aa55936ff7967bf22d02fb61db483bf /src
parent2ff7b51e2c437f4aed94211b3c1de33da8ad5e87 (diff)
downloadlibhubbub-a65fc4a976d5994042ac13c15f9de63f4e042bdd.tar.gz
libhubbub-a65fc4a976d5994042ac13c15f9de63f4e042bdd.tar.bz2
Ensure the "additional allowed character" in the "consume a character reference" steps gets reset.
svn path=/trunk/hubbub/; revision=4360
Diffstat (limited to 'src')
-rw-r--r--src/tokeniser/tokeniser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c
index 3a0a0d6..1c4f184 100644
--- a/src/tokeniser/tokeniser.c
+++ b/src/tokeniser/tokeniser.c
@@ -3161,6 +3161,7 @@ bool hubbub_tokeniser_handle_named_entity(hubbub_tokeniser *tokeniser)
/* Reset for next time */
ctx->match_entity.done_setup = false;
+ ctx->allowed_char = '\0';
/* Flag completion */
ctx->match_entity.complete = true;