Update serialize-doctype.ts

This commit is contained in:
Jun
2022-02-24 16:48:58 -08:00
committed by GitHub
parent 8e52770f04
commit 4b7e8e03b2

View File

@@ -23,6 +23,7 @@ const htmlEscape = (str: string | null): string => {
return escaped;
}
// @ts-ignore
const createDocType = (ignored: string, doctype?: DocumentType | null): string => {
if (!doctype)
return '<html></html>';