1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 20:15:07 +00:00
serenity/Userland/Libraries/LibWeb/HTML/Parser
Adam Hodgen c6fcdd0f93 LibWeb: Fix off by one error in HTML Tokenizer
In 'NamedCharacterReference' we attempt to lookup the code point by a
identifier, eg apos; becomes '

This is done by passing the entire rest of the document to the
`HTML::code_points_from_entity` function.

However, before this change we didn't sent the final character which
meant if the document ended in a named character reference the lookup
would fail.
2022-02-21 16:31:45 +01:00
..
Entities.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Entities.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
HTMLEncodingDetection.cpp LibWeb: Implement Attribute closer to the spec and with an IDL file 2021-10-17 13:51:10 +01:00
HTMLEncodingDetection.h LibWeb: Implement Attribute closer to the spec and with an IDL file 2021-10-17 13:51:10 +01:00
HTMLParser.cpp LibWeb: Handle markers when reconstructing active formatting elements 2022-02-20 10:59:42 +01:00
HTMLParser.h LibWeb: Implement state switch for "[CDATA[" in HTML parser 2022-02-15 23:24:34 +01:00
HTMLToken.cpp LibWeb: Change HTMLToken storage architecture 2021-07-17 16:24:57 +04:30
HTMLToken.h Libraries: Use AK::Variant default initialization where appropriate 2021-09-21 04:22:52 +04:30
HTMLTokenizer.cpp LibWeb: Fix off by one error in HTML Tokenizer 2022-02-21 16:31:45 +01:00
HTMLTokenizer.h LibWeb: Add an optional pointer to an HTMLParser to the HTMLTokenizer 2022-02-15 23:24:34 +01:00
ListOfActiveFormattingElements.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ListOfActiveFormattingElements.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackOfOpenElements.cpp LibWeb: Rename element_before() => element_immediately_above() 2022-02-15 02:05:53 +01:00
StackOfOpenElements.h LibWeb: Add spec comments to the StackOfOpenElements class 2022-02-15 02:05:53 +01:00