summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tokeniser/tokeniser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c
index ff10c4b..a756a72 100644
--- a/src/tokeniser/tokeniser.c
+++ b/src/tokeniser/tokeniser.c
@@ -981,8 +981,7 @@ bool hubbub_tokeniser_handle_close_tag_open(hubbub_tokeniser *tokeniser)
} else if (cptr == PARSERUTILS_INPUTSTREAM_EOF) {
/** \todo parse error */
- /* Emit "</" */
- emit_current_chars(tokeniser);
+ /* Return to data state with "</" pending */
tokeniser->state = STATE_DATA;
return true;
}