Merge fe81c65660
into 3eefa464ee
This commit is contained in:
commit
56b1e18d45
1 changed files with 4 additions and 0 deletions
|
@ -622,6 +622,10 @@ ErrorOr<void, ParseError> Parser::parse_doctype_decl()
|
|||
|
||||
rollback.disarm();
|
||||
m_doctype = move(doctype);
|
||||
if (m_doctype.has_value()) {
|
||||
m_listener->set_doctype(m_doctype.value());
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue