1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-30 10:32:17 +00:00

LibWeb: Use an Optional<String> to track the last HTML start tag

Using an HTMLToken object here is unnecessary because the only
attribute we're interested in is the tag_name.
This commit is contained in:
Gunnar Beutner 2021-05-22 20:17:09 +02:00 committed by Andreas Kling
parent d92548c5b0
commit d9e52997e2
2 changed files with 4 additions and 4 deletions

View file

@ -164,7 +164,7 @@ private:
HTMLToken m_current_token;
HTMLToken m_last_emitted_start_tag;
Optional<String> m_last_emitted_start_tag_name;
bool m_has_emitted_eof { false };