summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibWeb/Parser/HTMLTokenizer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
index a8c7cf1e86..4be19cbc13 100644
--- a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
+++ b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp
@@ -895,7 +895,7 @@ _StartOfFunction:
}
ON('>')
{
- SWITCH_TO(Data);
+ SWITCH_TO_AND_EMIT_CURRENT_TOKEN(Data);
}
ON_EOF
{
@@ -925,7 +925,8 @@ _StartOfFunction:
}
ON('>')
{
- TODO();
+ PARSE_ERROR();
+ SWITCH_TO_AND_EMIT_CURRENT_TOKEN(Data);
}
ANYTHING_ELSE
{