Commit 7f85d383 authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Add missing doctype to HTML

parent 3164668b
Pipeline #1032 passed with stage
in 2 minutes and 8 seconds
......@@ -23,5 +23,5 @@ export function renderToString(Component: JSX.Element, htmlProps: any) {
{delimiter}
</Html>,
).split(delimiter)
return html[0] + content + html[1]
return '<!DOCTYPE html>\n' + html[0] + content + html[1]
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment