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:
parent
d92548c5b0
commit
d9e52997e2
2 changed files with 4 additions and 4 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue