mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Update serialize-doctype.ts
This commit is contained in:
parent
8e52770f04
commit
4b7e8e03b2
@ -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>';
|
||||
|
Loading…
Reference in New Issue
Block a user