From bc4dd1fb3a7d290857ed7dd6dbca63268d92b310 Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Tue, 17 Jun 2008 04:58:57 +0000 Subject: 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 --- src/tokeniser/tokeniser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tokeniser') 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 */ -- cgit v1.2.3