diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-01 12:37:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-01 18:46:11 +0200 |
commit | a775c2c71717d676e5b9a7257155e22082151fc4 (patch) | |
tree | 6709897cf92b004613233e327359be60129687c9 /Libraries/LibWeb/Parser | |
parent | 8429551368c1d85268f51060d6f3a3bb56dd58a7 (diff) | |
download | serenity-a775c2c71717d676e5b9a7257155e22082151fc4.zip |
LibWeb: Handle more cases in the SelfClosingStartTag tokenizer state
Diffstat (limited to 'Libraries/LibWeb/Parser')
-rw-r--r-- | Libraries/LibWeb/Parser/HTMLTokenizer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp index 7941bc6918..41559630fd 100644 --- a/Libraries/LibWeb/Parser/HTMLTokenizer.cpp +++ b/Libraries/LibWeb/Parser/HTMLTokenizer.cpp @@ -834,11 +834,13 @@ _StartOfFunction: } ON_EOF { - TODO(); + PARSE_ERROR(); + EMIT_EOF; } ANYTHING_ELSE { - TODO(); + PARSE_ERROR(); + RECONSUME_IN(BeforeAttributeName); } } END_STATE |