Merge pull request #317 from Ssamm45/master

update list of self-closing tags
This commit is contained in:
Adam D. Ruppe 2022-02-01 16:24:20 -05:00 committed by GitHub
commit 2d4025f7eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
dom.d
View File

@ -5582,9 +5582,9 @@ struct DomMutationEvent {
private immutable static string[] htmlSelfClosedElements = [
// html 4
"img", "hr", "input", "br", "col", "link", "meta",
"area","base","br","col","hr","img","input","link","meta","param",
// html 5
"source" ];
"embed","source","track","wbr" ];
private immutable static string[] htmlInlineElements = [
"span", "strong", "em", "b", "i", "a"