mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 14:04:59 +00:00
LibWeb: Fix issue where double-quoted doctype system ID was not captured
We were storing double-quoted system ID's in the public ID field. 1% progression on ACID3. :^)
This commit is contained in:
parent
1e31c1260a
commit
1061c863f8
1 changed files with 2 additions and 2 deletions
|
@ -844,7 +844,7 @@ _StartOfFunction:
|
|||
{
|
||||
ON('"')
|
||||
{
|
||||
m_current_token.ensure_doctype_data().public_identifier = consume_current_builder();
|
||||
m_current_token.ensure_doctype_data().system_identifier = consume_current_builder();
|
||||
SWITCH_TO(AfterDOCTYPESystemIdentifier);
|
||||
}
|
||||
ON(0)
|
||||
|
@ -856,7 +856,7 @@ _StartOfFunction:
|
|||
ON('>')
|
||||
{
|
||||
log_parse_error();
|
||||
m_current_token.ensure_doctype_data().public_identifier = consume_current_builder();
|
||||
m_current_token.ensure_doctype_data().system_identifier = consume_current_builder();
|
||||
m_current_token.ensure_doctype_data().force_quirks = true;
|
||||
SWITCH_TO_AND_EMIT_CURRENT_TOKEN(Data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue