mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
LibXML: Parser handle standalone declaration
Previously here missed a equal sign parsing
This commit is contained in:
parent
0c14698028
commit
ce6138fccd
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ ErrorOr<void, ParseError> Parser::parse_standalone_document_decl()
|
|||
TRY(expect("standalone"sv));
|
||||
auto accept = accept_rule();
|
||||
|
||||
TRY(parse_eq());
|
||||
TRY(expect(is_any_of("'\""sv), "one of ' or \""sv));
|
||||
m_lexer.retreat();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue