diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-03 10:47:44 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-03 23:00:05 +0200 |
commit | d56686deab81c8b50207b75a485cf26ec8502383 (patch) | |
tree | 47f9466c6643a5851efb10f3422d056598341fab /integration_tests/tests/test_html5lib.rs | |
parent | 0576e5a9b93f28bd4d2adc224598de319e14f1be (diff) |
break!: make Doctype name field optional
Diffstat (limited to 'integration_tests/tests/test_html5lib.rs')
-rw-r--r-- | integration_tests/tests/test_html5lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration_tests/tests/test_html5lib.rs b/integration_tests/tests/test_html5lib.rs index f351f85..f13e580 100644 --- a/integration_tests/tests/test_html5lib.rs +++ b/integration_tests/tests/test_html5lib.rs @@ -146,7 +146,7 @@ fn run_test_inner<R: Reader>( Token::String(data) => actual.tokens.push(TestToken::Character(data)), Token::Comment(comment) => actual.tokens.push(TestToken::Comment(comment.data)), Token::Doctype(doctype) => actual.tokens.push(TestToken::Doctype { - name: Some(doctype.name).filter(|name| !name.is_empty()), + name: doctype.name, public_id: doctype.public_id, system_id: doctype.system_id, force_quirks: doctype.force_quirks, |