summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-06-17 04:58:57 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-06-17 04:58:57 +0000
commitbc4dd1fb3a7d290857ed7dd6dbca63268d92b310 (patch)
tree7031bcbff88bf1bab5a369ca4fe0b01ad595a84e /src
parent5bf58882711a4a5d6f1f3a94bb8eb76202bd9fb0 (diff)
downloadlibhubbub-bc4dd1fb3a7d290857ed7dd6dbca63268d92b310.tar.gz
libhubbub-bc4dd1fb3a7d290857ed7dd6dbca63268d92b310.tar.bz2
Bring the "before attribute name" state in line with the spec; this with the previous commit means that tests 1-3 of the html5lib suite pass.
svn path=/trunk/hubbub/; revision=4374
Diffstat (limited to 'src')
-rw-r--r--src/tokeniser/tokeniser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c
index 772ab62..c7abb28 100644
--- a/src/tokeniser/tokeniser.c
+++ b/src/tokeniser/tokeniser.c
@@ -1186,7 +1186,7 @@ bool hubbub_tokeniser_handle_before_attribute_name(
tokeniser->state =
HUBBUB_TOKENISER_STATE_SELF_CLOSING_START_TAG;
hubbub_inputstream_advance(tokeniser->input);
- } else if (c == '<') {
+ } else if (c == HUBBUB_INPUTSTREAM_EOF) {
hubbub_token token;
/* Emit current tag */