summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-06-17 04:32:32 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-06-17 04:32:32 +0000
commit240e3920224e231c2ac72fe5f5408934213b9bcb (patch)
treec88b4c154d44726e52c5036c5f2e1cb3b5e51dd3
parentb1835ffcffeab859740403e9ef5232a769804ef3 (diff)
downloadlibhubbub-240e3920224e231c2ac72fe5f5408934213b9bcb.tar.gz
libhubbub-240e3920224e231c2ac72fe5f5408934213b9bcb.tar.bz2
Fix a problem with self-closing tags emitting bogus extra character tokens.
svn path=/trunk/hubbub/; revision=4372
-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 87947de..772ab62 100644
--- a/src/tokeniser/tokeniser.c
+++ b/src/tokeniser/tokeniser.c
@@ -1716,6 +1716,7 @@ bool hubbub_tokeniser_handle_self_closing_start_tag(
hubbub_tokeniser_emit_token(tokeniser, &token);
tokeniser->state = HUBBUB_TOKENISER_STATE_DATA;
+ hubbub_inputstream_advance(tokeniser->input);
} else if (c == HUBBUB_INPUTSTREAM_EOF) {
hubbub_token token;