mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-01 06:31:53 +00:00
LibWeb: Unbreak character reference and DOCTYPE parsing post-UTF-8
Oops, these were still using the byte-offset cursor. My goodness is it unergonomic to index into UTF-8 strings, but Dr. Bugaev says it's good. There is lots of room for improvement here. Just like the rest of the tokenizer and parser. We'll have to do a few optimization passes over them once they mature.
This commit is contained in:
parent
b6288163f1
commit
b59f4632d5
Notes:
sideshowbarker
2024-07-19 05:49:49 +09:00
Author: https://github.com/awesomekling
Commit: b59f4632d5
2 changed files with 24 additions and 12 deletions
|
@ -169,7 +169,6 @@ private:
|
|||
String m_decoded_input;
|
||||
|
||||
StringView m_input;
|
||||
size_t m_cursor { 0 };
|
||||
|
||||
Utf8View m_utf8_view;
|
||||
AK::Utf8CodepointIterator m_utf8_iterator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue